Menu

## RouteTree
in package

RouteTree.php : 7

### Table of Contents

$cursor : mixed
$notFound : mixed
$root : mixed
__construct() : mixed
  RouteTree constructor.
getCursor() : RouteNode
getRoot() : RouteNode
isNotFound() : bool
printOut() : mixed
pushPath() : mixed
searchPath() : mixed
setCursor() : void
setNotFound() : void
setRoot() : void

### Properties

#### $cursor

RouteTree.php : 12
`private mixed $cursor`

#### $notFound

RouteTree.php : 14
`private mixed $notFound = false`

#### $root

RouteTree.php : 10
`private mixed $root`

### Methods

#### __construct()

RouteTree.php : 20

RouteTree constructor.

`public __construct(RouteNode $defaultNode) : mixed`

##### Parameters

$defaultNode : RouteNode

##### Return values

mixed —

#### getCursor()

RouteTree.php : 92
`public getCursor() : RouteNode`

##### Return values

RouteNode —

#### getRoot()

RouteTree.php : 76
`public getRoot() : RouteNode`

##### Return values

RouteNode —

#### isNotFound()

RouteTree.php : 100
`public isNotFound() : bool`

##### Return values

bool —

#### printOut()

RouteTree.php : 121
`public printOut() : mixed`

##### Return values

mixed —

#### pushPath()

RouteTree.php : 26
`public pushPath(string $fullPath[, Route $routeObj = null ]) : mixed`

##### Parameters

$fullPath : string
$routeObj : Route = null

##### Return values

mixed —

#### searchPath()

RouteTree.php : 50
`public searchPath(string $path[, mixed $setAtRoot = true ]) : mixed`

##### Parameters

$path : string
$setAtRoot : mixed = true

##### Return values

mixed —

#### setCursor()

RouteTree.php : 116
`public setCursor(RouteNode $cursor) : void`

##### Parameters

$cursor : RouteNode

##### Return values

void —

#### setNotFound()

RouteTree.php : 108
`public setNotFound(bool $notFound) : void`

##### Parameters

$notFound : bool

##### Return values

void —

#### setRoot()

RouteTree.php : 84
`public setRoot(RouteNode $root) : void`

##### Parameters

$root : RouteNode

##### Return values

void —

## Search results