RoutingConfigurator

class RoutingConfigurator

Traits

AddTrait

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, string $path, string $file)
ImportConfigurator import($resource, $type = null, $ignoreErrors = false)
CollectionConfigurator collection($name = '')

Details

final add(string $name, string $path)

Adds a route.

Parameters

string $name
string $path

final __invoke(string $name, string $path)

Adds a route.

Parameters

string $name
string $path

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

Parameters

RouteCollection $collection
PhpFileLoader $loader
string $path
string $file

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

Parameters

$resource
$type
$ignoreErrors

Return Value

ImportConfigurator

final CollectionConfigurator collection($name = '')

Parameters

$name

Return Value

CollectionConfigurator

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Routing/Loader/Configurator/RoutingConfigurator.html