FileAccess Orion

RoutingConfigurator
in package
Uses AddTrait

Tags
author

Nicolas Grekas p@tchwork.com

Table of Contents

$collection  : RouteCollection
$file  : mixed
$loader  : mixed
$name  : mixed
$path  : mixed
$prefixes  : mixed
__construct()  : mixed
__invoke()  : RouteConfigurator
Adds a route.
add()  : RouteConfigurator
Adds a route.
collection()  : CollectionConfigurator
import()  : ImportConfigurator
createRoute()  : Route

Properties

Methods

__invoke()

Adds a route.

public final __invoke(string $name, string|array<string|int, mixed> $path) : RouteConfigurator
Parameters
$name : string
$path : string|array<string|int, mixed>

the path, or the localized paths of the route

Return values
RouteConfigurator

add()

Adds a route.

public final add(string $name, string|array<string|int, mixed> $path) : RouteConfigurator
Parameters
$name : string
$path : string|array<string|int, mixed>

the path, or the localized paths of the route

Return values
RouteConfigurator

import()

public final import(mixed $resource[, string $type = null ][, bool $ignoreErrors = false ][, string|array<string|int, string>|null $exclude = null ]) : ImportConfigurator
Parameters
$resource : mixed
$type : string = null
$ignoreErrors : bool = false
$exclude : string|array<string|int, string>|null = null

Glob patterns to exclude from the import

Return values
ImportConfigurator

createRoute()

private createRoute(string $path) : Route
Parameters
$path : string
Return values
Route

Search results