CompiledUrlGeneratorDumper
extends GeneratorDumper
in package
CompiledUrlGeneratorDumper creates a PHP array to be used with CompiledUrlGenerator.
Tags
Table of Contents
- $routes : mixed
- __construct() : mixed
- dump() : mixed
- {@inheritdoc}
- getCompiledAliases() : array<string|int, mixed>
- getCompiledRoutes() : array<string|int, mixed>
- getRoutes() : RouteCollection
- Gets the routes to dump.
- generateDeclaredRoutes() : string
- Generates PHP code representing an array of defined routes together with the routes properties (e.g. requirements).
Properties
$routes
private
mixed
$routes
Methods
__construct()
public
__construct(RouteCollection $routes) : mixed
Parameters
- $routes : RouteCollection
Return values
mixed —dump()
{@inheritdoc}
public
dump([array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $options : array<string|int, mixed> = []
Return values
mixed —getCompiledAliases()
public
getCompiledAliases() : array<string|int, mixed>
Return values
array<string|int, mixed> —getCompiledRoutes()
public
getCompiledRoutes() : array<string|int, mixed>
Return values
array<string|int, mixed> —getRoutes()
Gets the routes to dump.
public
getRoutes() : RouteCollection
Return values
RouteCollection —generateDeclaredRoutes()
Generates PHP code representing an array of defined routes together with the routes properties (e.g. requirements).
private
generateDeclaredRoutes() : string