PHP 클래스 FluxBB\Web\Router

파일 보기 프로젝트 열기: fluxbb/core 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$currentRequestName string
$currentRequestParameters array
$dataGenerator FastRoute\DataGenerator
$dispatcher FastRoute\Dispatcher
$reverse array
$routeParser FastRoute\RouteParser

공개 메소드들

메소드 설명
__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 )

보호된 메소드들

메소드 설명
getDispatcher ( )

메소드 상세

__construct() 공개 메소드

public __construct ( )

addRoute() 공개 메소드

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

delete() 공개 메소드

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

get() 공개 메소드

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

getCallable() 공개 메소드

public getCallable ( $method, $uri )

getCurrentPath() 공개 메소드

public getCurrentPath ( )

getDispatcher() 보호된 메소드

protected getDispatcher ( )

getMethod() 공개 메소드

public getMethod ( $handler )

getPath() 공개 메소드

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

post() 공개 메소드

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

put() 공개 메소드

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

프로퍼티 상세

$currentRequestName 보호되어 있는 프로퍼티

protected string $currentRequestName
리턴 string

$currentRequestParameters 보호되어 있는 프로퍼티

protected array $currentRequestParameters
리턴 array

$dataGenerator 보호되어 있는 프로퍼티

protected DataGenerator,FastRoute $dataGenerator
리턴 FastRoute\DataGenerator

$dispatcher 보호되어 있는 프로퍼티

protected Dispatcher,FastRoute $dispatcher
리턴 FastRoute\Dispatcher

$reverse 보호되어 있는 프로퍼티

protected array $reverse
리턴 array

$routeParser 보호되어 있는 프로퍼티

protected RouteParser,FastRoute $routeParser
리턴 FastRoute\RouteParser