PHP 클래스 Phprest\Util\Controller

파일 보기 프로젝트 열기: phprest/phprest

보호된 프로퍼티들

프로퍼티 타입 설명
$container League\Container\ContainerInterface

공개 메소드들

메소드 설명
__construct ( League\Container\ContainerInterface $container, boolean $registerRoutes = true )

보호된 메소드들

메소드 설명
addVersionToRoute ( Route $docblock )
getContainer ( ) : League\Container\ContainerInterface
registerRoute ( League\Route\RouteCollection $router, ReflectionClass $class, ReflectionMethod $method, mixed $docblock )
registerRoutes ( ) : void

메소드 상세

__construct() 공개 메소드

public __construct ( League\Container\ContainerInterface $container, boolean $registerRoutes = true )
$container League\Container\ContainerInterface
$registerRoutes boolean

addVersionToRoute() 보호된 메소드

protected addVersionToRoute ( Route $docblock )
$docblock Phprest\Annotation\Route

getContainer() 보호된 메소드

protected getContainer ( ) : League\Container\ContainerInterface
리턴 League\Container\ContainerInterface

registerRoute() 보호된 메소드

protected registerRoute ( League\Route\RouteCollection $router, ReflectionClass $class, ReflectionMethod $method, mixed $docblock )
$router League\Route\RouteCollection
$class ReflectionClass
$method ReflectionMethod
$docblock mixed

registerRoutes() 보호된 메소드

protected registerRoutes ( ) : void
리턴 void

프로퍼티 상세

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

protected ContainerInterface,League\Container $container
리턴 League\Container\ContainerInterface