W3cubDocs

/CakePHP 3.4

Namespace Cake\Routing\Route

Class summary

  • This route class will transparently inflect the controller, action and plugin routing parameters, so that requesting /my-plugin/my-controller/my-action is parsed as ['plugin' => 'MyPlugin', 'controller' => 'MyController', 'action' => 'myAction']

  • This route class will transparently inflect the controller and plugin routing parameters, so that requesting /my_controller is parsed as ['controller' => 'MyController']

  • Plugin short route, that copies the plugin param to the controller parameters It is used for supporting /:plugin routes.

  • Redirect route will perform an immediate redirect. Redirect routes are useful when you want to have Routing layer redirects occur in your application, for when URLs move.

  • A single Route used by the Router to connect requests to parameter maps.

© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.4/namespace-Cake.Routing.Route.html