Menu

## RouteNode
in package

RouteNode.php : 5

### Table of Contents

$children : array<string|int, mixed>
$data : array<string|int, mixed>
$parent : RouteNode
$routeObject : Route
$routePart : string
__construct() : mixed
  RouteNode constructor.
addChild() : mixed
getAllParents() : mixed
getAllParentsObjects() : mixed
getArray() : mixed
getChild() : mixed
getChildren() : array<string|int, mixed>
getData() : array<string|int, mixed>
getFullPath() : mixed
getParent() : mixed
getRouteObject() : Route|null
getRoutePart() : mixed
hasChild() : mixed
hasChildren() : mixed
printOut() : mixed
removeChild() : mixed
setChildren() : void
setParent() : void
setRouteObject() : void
setRoutePart() : void

### Properties

#### $children

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

#### $data

RouteNode.php : 31
`private array<string|int, mixed> $data = []`

#### $parent

RouteNode.php : 16
`private RouteNode $parent`

#### $routeObject

RouteNode.php : 26
`private Route $routeObject`

#### $routePart

RouteNode.php : 21
`private string $routePart`

### Methods

#### __construct()

RouteNode.php : 39

RouteNode constructor.

`public __construct( $parent, $routePart[, null $routeObject = null ]) : mixed`

##### Parameters

$parent :
$routePart :
$routeObject : null = null

##### Return values

mixed —

#### addChild()

RouteNode.php : 94
`public addChild(RouteNode $node) : mixed`

##### Parameters

$node : RouteNode

##### Return values

mixed —

#### getAllParents()

RouteNode.php : 170
`public getAllParents([mixed $parts = [] ]) : mixed`

##### Parameters

$parts : mixed = []

##### Return values

mixed —

#### getAllParentsObjects()

RouteNode.php : 181
`public getAllParentsObjects([mixed $parents = [] ]) : mixed`

##### Parameters

$parents : mixed = []

##### Return values

mixed —

#### getArray()

RouteNode.php : 143
`public getArray() : mixed`

##### Return values

mixed —

#### getChild()

RouteNode.php : 116
`public getChild(string $part) : mixed`

##### Parameters

$part : string

##### Return values

mixed —

#### getChildren()

RouteNode.php : 49
`public getChildren() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

#### getData()

RouteNode.php : 231
`public getData() : array<string|int, mixed>`

##### Return values

array<string|int, mixed> —

#### getFullPath()

RouteNode.php : 192
`public getFullPath() : mixed`

##### Return values

mixed —

#### getParent()

RouteNode.php : 65
`public getParent() : mixed`

##### Return values

mixed —

#### getRouteObject()

RouteNode.php : 215
`public getRouteObject() : Route|null`

##### Return values

Route|null —

#### getRoutePart()

RouteNode.php : 81
`public getRoutePart() : mixed`

##### Return values

mixed —

#### hasChild()

RouteNode.php : 164
`public hasChild(string $part) : mixed`

##### Parameters

$part : string

##### Return values

mixed —

#### hasChildren()

RouteNode.php : 159
`public hasChildren() : mixed`

##### Return values

mixed —

#### printOut()

RouteNode.php : 132
`public printOut() : mixed`

##### Return values

mixed —

#### removeChild()

RouteNode.php : 104
`public removeChild(string $stringPart) : mixed`

##### Parameters

$stringPart : string

##### Return values

mixed —

#### setChildren()

RouteNode.php : 57
`public setChildren(array<string|int, mixed> $children) : void`

##### Parameters

$children : array<string|int, mixed>

##### Return values

void —

#### setParent()

RouteNode.php : 73
`public setParent(mixed $parent) : void`

##### Parameters

$parent : mixed

##### Return values

void —

#### setRouteObject()

RouteNode.php : 223
`public setRouteObject(Route $routeObject) : void`

##### Parameters

$routeObject : Route

##### Return values

void —

#### setRoutePart()

RouteNode.php : 89
`public setRoutePart(mixed $routePart) : void`

##### Parameters

$routePart : mixed

##### Return values

void —

## Search results