Package Cake\Routing
Package summary
Class summary
-
Dispatcher
Dispatcher converts Requests into controller actions. It uses the dispatched Request to locate and load the correct controller. If found, the requested action is called on the controller.
-
Router
Parses the request URL into controller, action, and parameters. Uses the connected routes to match the incoming url string to parameters that will allow the request to be dispatched. Also handles converting parameter lists into url strings, using the connected routes. Routing allows you to decouple the way the world interacts with your application (urls) and the implementation (controllers and actions).