PHP Class Nette\Routing\RouteList

Inheritance: extends Nette\Utils\ArrayList, implements IRouter
Datei anzeigen Open project: nette/routing

Public Methods

Method Description
constructUrl ( array $params, Url $refUrl ) : string | null Constructs absolute URL from Request object.
match ( Nette\Http\IRequest $request ) : array | null Maps HTTP request to a Request object.
offsetSet ( $index, $route ) : void Adds the router.
warmupCache ( )

Method Details

constructUrl() public method

Constructs absolute URL from Request object.
public constructUrl ( array $params, Url $refUrl ) : string | null
$params array
$refUrl Nette\Http\Url
return string | null

match() public method

Maps HTTP request to a Request object.
public match ( Nette\Http\IRequest $request ) : array | null
$request Nette\Http\IRequest
return array | null

offsetSet() public method

Adds the router.
public offsetSet ( $index, $route ) : void
return void

warmupCache() public method

public warmupCache ( )