PHP Class FluxBB\Web\ControllerFactory

Afficher le fichier Open project: fluxbb/core Class Usage Examples

Protected Properties

Свойство Type Description
$container Illuminate\Contracts\Container\Container The container instance.

Méthodes publiques

Méthode Description
__construct ( Illuminate\Contracts\Container\Container $container ) Create a factory instance.
make ( string $class ) : Controller Create and bootstrap the given controller class.

Méthodes protégées

Méthode Description
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.

Method Details

__construct() public méthode

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

make() public méthode

Create and bootstrap the given controller class.
public make ( string $class ) : Controller
$class string
Résultat Controller

makeServer() protected méthode

Instantiate the FluxBB server.
protected makeServer ( ) : FluxBB\Server\ServerInterface
Résultat FluxBB\Server\ServerInterface

makeSession() protected méthode

Instantiate the session driver.
protected makeSession ( ) : Illuminate\Session\Store
Résultat Illuminate\Session\Store

makeUrlGenerator() protected méthode

Instantiate the URL generator.
protected makeUrlGenerator ( ) : FluxBB\Web\UrlGeneratorInterface
Résultat FluxBB\Web\UrlGeneratorInterface

makeView() protected méthode

Instantiate the view environment.
protected makeView ( ) : FluxBB\View\ViewInterface
Résultat FluxBB\View\ViewInterface

Property Details

$container protected_oe property

The container instance.
protected Container,Illuminate\Contracts\Container $container
Résultat Illuminate\Contracts\Container\Container