interface HasRoutesInterface (View source)

Interface for HasRoutesTrait

Methods

getRoutes()

Get routes.

void
addRoute(RouteInterface $route)

Add a route.

void
removeRoute(RouteInterface $route)

Remove a route.

Details

RouteInterface[] getRoutes()

Get routes.

Return Value

RouteInterface[]

void addRoute(RouteInterface $route)

Add a route.

Parameters

RouteInterface $route

Return Value

void

void removeRoute(RouteInterface $route)

Remove a route.

Parameters

RouteInterface $route

Return Value

void