Свойство | Тип | Описание | |
---|---|---|---|
$container | League\Container\ContainerInterface |
Метод | Описание | |
---|---|---|
__construct ( League\Container\ContainerInterface $container ) | ||
dispatch ( string | array | Closure $controller, array $vars ) : mixed | Dispatch the controller, the return value of this method will bubble out and be returned by \League\Route\Dispatcher::dispatch, it does not require a response, however, beware that there is no output buffering by default in the router. | |
getContainer ( ) : League\Container\ContainerInterface | Returns the DI container. |
Метод | Описание | |
---|---|---|
serviceHateoas ( ) : Hateoas\Hateoas |
public __construct ( League\Container\ContainerInterface $container ) | ||
$container | League\Container\ContainerInterface |
public getContainer ( ) : League\Container\ContainerInterface | ||
Результат | League\Container\ContainerInterface |
protected serviceHateoas ( ) : Hateoas\Hateoas | ||
Результат | Hateoas\Hateoas |