HasRoutesTrait
trait HasRoutesTrait (View source)
Allow objects to have routes
Methods
Details
at line 32
RouteInterface[]
getRoutes()
Get routes.
at line 42
void
addRoute(RouteInterface $route)
Add a route.
at line 67
void
removeRoute(RouteInterface $route)
Remove a route.