PHP 클래스 HTTPDispatchRule, JAXL

파일 보기 프로젝트 열기: jaxl/JAXL

공개 프로퍼티들

프로퍼티 타입 설명
$cb match callback
$extra other matching rules
$methods add atleast 1 method for this rule to work
$pattern regexp to match on request path

공개 메소드들

메소드 설명
__construct ( $cb, $pattern, array $methods = ['GET'], array $extra = [] )
match ( $path, $method )

메소드 상세

__construct() 공개 메소드

public __construct ( $cb, $pattern, array $methods = ['GET'], array $extra = [] )
$methods array
$extra array

match() 공개 메소드

public match ( $path, $method )

프로퍼티 상세

$cb 공개적으로 프로퍼티

match callback
public $cb

$extra 공개적으로 프로퍼티

other matching rules
public $extra

$methods 공개적으로 프로퍼티

add atleast 1 method for this rule to work
public $methods

$pattern 공개적으로 프로퍼티

regexp to match on request path
public $pattern