W3cubDocs

/CakePHP 4.4

Namespace Route

Classes

  • DashedRoute

    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']

  • EntityRoute

    Matches entities to routes

  • InflectedRoute

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

  • PluginShortRoute

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

  • RedirectRoute

    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.

  • Route

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

© 2005–present 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/4.4/namespace-Cake.Routing.Route.html