PHP Класс FluxBB\Web\ControllerFactory

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$container Illuminate\Contracts\Container\Container The container instance.

Открытые методы

Метод Описание
__construct ( Illuminate\Contracts\Container\Container $container ) Create a factory instance.
make ( string $class ) : Controller Create and bootstrap the given controller class.

Защищенные методы

Метод Описание
makeServer ( ) : FluxBB\Server\ServerInterface Instantiate the FluxBB server.
makeSession ( ) : Illuminate\Session\Store Instantiate the session driver.
makeUrlGenerator ( ) : FluxBB\Web\UrlGeneratorInterface Instantiate the URL generator.
makeView ( ) : FluxBB\View\ViewInterface Instantiate the view environment.

Описание методов

__construct() публичный Метод

Create a factory instance.
public __construct ( Illuminate\Contracts\Container\Container $container )
$container Illuminate\Contracts\Container\Container

make() публичный Метод

Create and bootstrap the given controller class.
public make ( string $class ) : Controller
$class string
Результат Controller

makeServer() защищенный Метод

Instantiate the FluxBB server.
protected makeServer ( ) : FluxBB\Server\ServerInterface
Результат FluxBB\Server\ServerInterface

makeSession() защищенный Метод

Instantiate the session driver.
protected makeSession ( ) : Illuminate\Session\Store
Результат Illuminate\Session\Store

makeUrlGenerator() защищенный Метод

Instantiate the URL generator.
protected makeUrlGenerator ( ) : FluxBB\Web\UrlGeneratorInterface
Результат FluxBB\Web\UrlGeneratorInterface

makeView() защищенный Метод

Instantiate the view environment.
protected makeView ( ) : FluxBB\View\ViewInterface
Результат FluxBB\View\ViewInterface

Описание свойств

$container защищенное свойство

The container instance.
protected Container,Illuminate\Contracts\Container $container
Результат Illuminate\Contracts\Container\Container