RoutingCollector
extends Collector
in package
Class RoutingCollector.
Table of Contents
- $router : Router
- getActivities() : array<string|int, mixed>
- getContents() : string
- setRouter() : static
- getRoutes() : array<string|int, array<string, mixed>>
- renderMatchedRoute() : string
- renderRouteCollections() : string
- renderRouteCollectionsTable() : string
- renderRouteCollectionTime() : string
- toCodeBrackets() : string
Properties
$router
protected
Router
$router
Methods
getActivities()
public
getActivities() : array<string|int, mixed>
Return values
array<string|int, mixed> —getContents()
public
getContents() : string
Return values
string —setRouter()
public
setRouter(Router $router) : static
Parameters
- $router : Router
Return values
static —getRoutes()
protected
getRoutes(RouteCollection $collection) : array<string|int, array<string, mixed>>
Parameters
- $collection : RouteCollection
Return values
array<string|int, array<string, mixed>> —renderMatchedRoute()
protected
renderMatchedRoute() : string
Return values
string —renderRouteCollections()
protected
renderRouteCollections() : string
Return values
string —renderRouteCollectionsTable()
protected
renderRouteCollectionsTable(RouteCollection $collection) : string
Parameters
- $collection : RouteCollection
Return values
string —renderRouteCollectionTime()
protected
renderRouteCollectionTime(RouteCollection $collection) : string
Parameters
- $collection : RouteCollection
Return values
string —toCodeBrackets()
protected
toCodeBrackets(string $str) : string
Parameters
- $str : string