PHP Class Phprest\Util\Controller

Afficher le fichier Open project: phprest/phprest

Protected Properties

Свойство Type Description
$container League\Container\ContainerInterface

Méthodes publiques

Méthode Description
__construct ( League\Container\ContainerInterface $container, boolean $registerRoutes = true )

Méthodes protégées

Méthode Description
addVersionToRoute ( Route $docblock )
getContainer ( ) : League\Container\ContainerInterface
registerRoute ( League\Route\RouteCollection $router, ReflectionClass $class, ReflectionMethod $method, mixed $docblock )
registerRoutes ( ) : void

Method Details

__construct() public méthode

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

addVersionToRoute() protected méthode

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

getContainer() protected méthode

protected getContainer ( ) : League\Container\ContainerInterface
Résultat League\Container\ContainerInterface

registerRoute() protected méthode

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

registerRoutes() protected méthode

protected registerRoutes ( ) : void
Résultat void

Property Details

$container protected_oe property

protected ContainerInterface,League\Container $container
Résultat League\Container\ContainerInterface