class RoutingConfigurator

Traits

Methods

add(string $name, string $path)

Adds a route.

from AddTrait
__invoke(string $name, string $path)

Adds a route.

from AddTrait
__construct(RouteCollection $collection, PhpFileLoader $loader, $path, $file)

No description

import($resource, $type = null, $ignoreErrors = false)

No description

collection($name = '')

No description

Details

in AddTrait at line 35
final RouteConfigurator add(string $name, string $path)

Adds a route.

Parameters

string $name
string $path

Return Value

RouteConfigurator

in AddTrait at line 51
final RouteConfigurator __invoke(string $name, string $path)

Adds a route.

Parameters

string $name
string $path

Return Value

RouteConfigurator

at line 28
__construct(RouteCollection $collection, PhpFileLoader $loader, $path, $file)

Parameters

RouteCollection $collection
PhpFileLoader $loader
$path
$file

at line 39
final ImportConfigurator import($resource, $type = null, $ignoreErrors = false)

Parameters

$resource
$type
$ignoreErrors

Return Value

ImportConfigurator

at line 58
final CollectionConfigurator collection($name = '')

Parameters

$name

Return Value

CollectionConfigurator