RouteHandlerTrait
Provides an implementation of IRouteHandler::registerRoutes that uses the attributes.
For more advanced use, everything can be use'd separately and HandlerAttribute::register called manually.
Table of Contents
Methods
- registerRoutes() : void
Methods
registerRoutes()
public
registerRoutes(IRouter $router) : void
Parameters
- $router : IRouter