anandkunal / ToroPHP

Toro is a PHP router for developing RESTful web applications and APIs.
http://toroweb.org
MIT License
1.17k stars 173 forks source link

Passing parsed information from Toro::server into ToroHook::fire() methods #53

Closed jmashburn closed 11 years ago

jmashburn commented 11 years ago

This will allow handlers access to some valuable information from the Toro::server method. Information such as routes, discovered_handler, request_method and the result of the handler method call (if any) to be used on other fired methods. This can be used to setup and ACL or templates.

martinbean commented 11 years ago

Thanks, Jared!