Menu

## TwigRoute extends Route
in package

TwigRoute.php : 8

### 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

Route.php : 9
`public array<string|int, mixed> $data = []`

#### $files

Route.php : 11
`private array<string|int, mixed> $files = []`

#### $fullPath

Route.php : 13
`private mixed $fullPath`

#### $twigId

TwigRoute.php : 11
`private string $twigId`

### Methods

#### __construct()

TwigRoute.php : 18

TwigRoute constructor.

`public __construct( $pathTo, $twigId) : mixed`

##### Parameters

$pathTo :
$twigId :

##### Return values

mixed —

#### attach()

Route.php : 39
`public attach(RouteFile $file) : mixed`

##### Parameters

$file : RouteFile

##### Return values

mixed —

#### getFiles()

Route.php : 47
`public getFiles() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

#### getFullPath()

Route.php : 26
`public getFullPath() : mixed`

##### Return values

mixed —

#### onCall()

TwigRoute.php : 24
`public onCall(WebRequest $request) : mixed`

##### Parameters

$request : WebRequest

##### Return values

mixed —

#### setFullPath()

Route.php : 34
`public setFullPath(mixed $fullPath) : void`

##### Parameters

$fullPath : mixed

##### Return values

void —

## Search results