Snaju Inception Docs

RouteNode
in package

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

private array<string|int, mixed> $children = []

$data

private array<string|int, mixed> $data = []

Methods

__construct()

RouteNode constructor.

public __construct( $parent,  $routePart[, null $routeObject = null ]) : mixed
Parameters
$parent :
$routePart :
$routeObject : null = null
Return values
mixed

getAllParents()

public getAllParents([mixed $parts = [] ]) : mixed
Parameters
$parts : mixed = []
Return values
mixed

getAllParentsObjects()

public getAllParentsObjects([mixed $parents = [] ]) : mixed
Parameters
$parents : mixed = []
Return values
mixed

getArray()

public getArray() : mixed
Return values
mixed

getChild()

public getChild(string $part) : mixed
Parameters
$part : string
Return values
mixed

getChildren()

public getChildren() : array<string|int, mixed>
Return values
array<string|int, mixed>

getData()

public getData() : array<string|int, mixed>
Return values
array<string|int, mixed>

getFullPath()

public getFullPath() : mixed
Return values
mixed

getParent()

public getParent() : mixed
Return values
mixed

getRoutePart()

public getRoutePart() : mixed
Return values
mixed

hasChild()

public hasChild(string $part) : mixed
Parameters
$part : string
Return values
mixed

hasChildren()

public hasChildren() : mixed
Return values
mixed

printOut()

public printOut() : mixed
Return values
mixed

removeChild()

public removeChild(string $stringPart) : mixed
Parameters
$stringPart : string
Return values
mixed

setChildren()

public setChildren(array<string|int, mixed> $children) : void
Parameters
$children : array<string|int, mixed>
Return values
void

setParent()

public setParent(mixed $parent) : void
Parameters
$parent : mixed
Return values
void

setRouteObject()

public setRouteObject(Route $routeObject) : void
Parameters
$routeObject : Route
Return values
void

setRoutePart()

public setRoutePart(mixed $routePart) : void
Parameters
$routePart : mixed
Return values
void

Search results