PHP 클래스 Phly\Conduit\Route

Details the subpath on which the middleware is active, and the handler for the middleware itself.
파일 보기 프로젝트 열기: phly/conduit

보호된 프로퍼티들

프로퍼티 타입 설명
$handler callable
$path string

공개 메소드들

메소드 설명
__construct ( string $path, callable $handler )
__get ( mixed $name ) : mixed

메소드 상세

__construct() 공개 메소드

public __construct ( string $path, callable $handler )
$path string
$handler callable

__get() 공개 메소드

public __get ( mixed $name ) : mixed
$name mixed
리턴 mixed

프로퍼티 상세

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

protected callable $handler
리턴 callable

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

protected string $path
리턴 string