PHP 클래스 FluxBB\Web\ControllerFactory

파일 보기 프로젝트 열기: fluxbb/core 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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