PHP 클래스 Phprest\Middleware\ApiVersion

상속: implements Symfony\Component\HttpKernel\HttpKernelInterface, use trait Phprest\Util\Mime
파일 보기 프로젝트 열기: phprest/phprest 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$app Phprest\Application

공개 메소드들

메소드 설명
__construct ( Application $app )
handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : Response

보호된 메소드들

메소드 설명
getContainer ( ) : League\Container\ContainerInterface Returns the DI container.

메소드 상세

__construct() 공개 메소드

public __construct ( Application $app )
$app Phprest\Application

getContainer() 보호된 메소드

Returns the DI container.
protected getContainer ( ) : League\Container\ContainerInterface
리턴 League\Container\ContainerInterface

handle() 공개 메소드

public handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : Response
$request Symfony\Component\HttpFoundation\Request
$type integer
$catch boolean
리턴 Symfony\Component\HttpFoundation\Response

프로퍼티 상세

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

protected Application,Phprest $app
리턴 Phprest\Application