RoutingConfigurator
in package
Uses
AddTrait
Tags
Table of Contents
- $collection : RouteCollection
- $file : mixed
- $loader : mixed
- $name : mixed
- $path : mixed
- __construct() : mixed
- __invoke() : RouteConfigurator
- Adds a route.
- add() : RouteConfigurator
- Adds a route.
- collection() : CollectionConfigurator
- import() : ImportConfigurator
Properties
$collection
private
RouteCollection
$collection
$file
private
mixed
$file
$loader
private
mixed
$loader
$name
private
mixed
$name
= ''
$path
private
mixed
$path
Methods
__construct()
public
__construct(RouteCollection $collection, PhpFileLoader $loader, mixed $path, mixed $file) : mixed
Parameters
- $collection : RouteCollection
- $loader : PhpFileLoader
- $path : mixed
- $file : mixed
Return values
mixed —__invoke()
Adds a route.
public
final __invoke(string $name, string $path) : RouteConfigurator
Parameters
- $name : string
- $path : string
Return values
RouteConfigurator —add()
Adds a route.
public
final add(string $name, string $path) : RouteConfigurator
Parameters
- $name : string
- $path : string
Return values
RouteConfigurator —collection()
public
final collection([mixed $name = '' ]) : CollectionConfigurator
Parameters
- $name : mixed = ''
Return values
CollectionConfigurator —import()
public
final import(mixed $resource[, mixed $type = null ][, mixed $ignoreErrors = false ]) : ImportConfigurator
Parameters
- $resource : mixed
- $type : mixed = null
- $ignoreErrors : mixed = false