RoutingConfigurator

class RoutingConfigurator

Traits

AddTrait

Methods

RouteConfigurator add($name, $path)

Adds a route.

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

Adds a route.

from AddTrait
__construct(RouteCollection $collection, PhpFileLoader $loader, $path, $file)
ImportConfigurator import($resource, $type = null, $ignoreErrors = false)
CollectionConfigurator collection($name = '')

Details

final RouteConfigurator add($name, $path)

Adds a route.

Parameters

$name
$path

Return Value

RouteConfigurator

final RouteConfigurator __invoke(string $name, string $path)

Adds a route.

Parameters

string $name
string $path

Return Value

RouteConfigurator

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

Parameters

RouteCollection $collection
PhpFileLoader $loader
$path
$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/3.4/Symfony/Component/Routing/Loader/Configurator/RoutingConfigurator.html