PHP Class FluxBB\Web\Router

Afficher le fichier Open project: fluxbb/core Class Usage Examples

Protected Properties

Свойство Type Description
$currentRequestName string
$currentRequestParameters array
$dataGenerator FastRoute\DataGenerator
$dispatcher FastRoute\Dispatcher
$reverse array
$routeParser FastRoute\RouteParser

Méthodes publiques

Méthode Description
__construct ( )
addRoute ( $method, $path, $name, $handler )
delete ( $path, $name, $handler )
get ( $path, $name, $handler )
getCallable ( $method, $uri )
getCurrentPath ( )
getMethod ( $handler )
getPath ( $name, $parameters = [] )
post ( $path, $name, $handler )
put ( $path, $name, $handler )

Méthodes protégées

Méthode Description
getDispatcher ( )

Method Details

__construct() public méthode

public __construct ( )

addRoute() public méthode

public addRoute ( $method, $path, $name, $handler )

delete() public méthode

public delete ( $path, $name, $handler )

get() public méthode

public get ( $path, $name, $handler )

getCallable() public méthode

public getCallable ( $method, $uri )

getCurrentPath() public méthode

public getCurrentPath ( )

getDispatcher() protected méthode

protected getDispatcher ( )

getMethod() public méthode

public getMethod ( $handler )

getPath() public méthode

public getPath ( $name, $parameters = [] )

post() public méthode

public post ( $path, $name, $handler )

put() public méthode

public put ( $path, $name, $handler )

Property Details

$currentRequestName protected_oe property

protected string $currentRequestName
Résultat string

$currentRequestParameters protected_oe property

protected array $currentRequestParameters
Résultat array

$dataGenerator protected_oe property

protected DataGenerator,FastRoute $dataGenerator
Résultat FastRoute\DataGenerator

$dispatcher protected_oe property

protected Dispatcher,FastRoute $dispatcher
Résultat FastRoute\Dispatcher

$reverse protected_oe property

protected array $reverse
Résultat array

$routeParser protected_oe property

protected RouteParser,FastRoute $routeParser
Résultat FastRoute\RouteParser