class RoutingConfigurator

Traits

Methods

add(string $name, $path)

Adds a route.

from AddTrait
__invoke(string $name, $path)

Adds a route.

from AddTrait
__construct(RouteCollection $collection, PhpFileLoader $loader, string $path, string $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, $path)

Adds a route.

Parameters

string $name
$path

Return Value

RouteConfigurator

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

Adds a route.

Parameters

string $name
$path

Return Value

RouteConfigurator

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

Parameters

RouteCollection $collection
PhpFileLoader $loader
string $path
string $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