TwigRoute
extends Route
in package
Table of Contents
- $data : array<string|int, mixed>
- $files : array<string|int, mixed>
- $fullPath : mixed
- $twigId : string
- __construct() : mixed
- TwigRoute constructor.
- attach() : mixed
- getFiles() : array<string|int, mixed>
- getFullPath() : mixed
- onCall() : mixed
- setFullPath() : void
Properties
$data
public
array<string|int, mixed>
$data
= []
$files
private
array<string|int, mixed>
$files
= []
$fullPath
private
mixed
$fullPath
$twigId
private
string
$twigId
Methods
__construct()
TwigRoute constructor.
public
__construct( $pathTo, $twigId) : mixed
Parameters
Return values
mixed —attach()
public
attach(RouteFile $file) : mixed
Parameters
- $file : RouteFile
Return values
mixed —getFiles()
public
getFiles() : array<string|int, mixed>
Return values
array<string|int, mixed> —getFullPath()
public
getFullPath() : mixed
Return values
mixed —onCall()
public
onCall(WebRequest $request) : mixed
Parameters
- $request : WebRequest
Return values
mixed —setFullPath()
public
setFullPath(mixed $fullPath) : void
Parameters
- $fullPath : mixed