PHP 클래스 Robbo\Presenter\View\Factory

상속: extends Illuminate\View\Factory
파일 보기 프로젝트 열기: robclancy/presenter 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$presenterDecorator Robbo\Presenter\Decorator Used for "decorating" objects to have presenters.

공개 메소드들

메소드 설명
__construct ( Illuminate\View\Engines\EngineResolver $engines, Illuminate\View\ViewFinderInterface $finder, Illuminate\Events\Dispatcher $events, Decorator $decorator ) : void Create a new view factory instance.
decorate ( mixed $value ) : mixed Decorate an object with a presenter.
make ( string $view, array $data = [], array $mergeData = [] ) : Illuminate\View\View Get a evaluated view contents for the given view.
share ( string $key, mixed $value = null ) : void Add a piece of shared data to the factory.

메소드 상세

__construct() 공개 메소드

Create a new view factory instance.
public __construct ( Illuminate\View\Engines\EngineResolver $engines, Illuminate\View\ViewFinderInterface $finder, Illuminate\Events\Dispatcher $events, Decorator $decorator ) : void
$engines Illuminate\View\Engines\EngineResolver
$finder Illuminate\View\ViewFinderInterface
$events Illuminate\Events\Dispatcher
$decorator Robbo\Presenter\Decorator
리턴 void

decorate() 공개 메소드

Decorate an object with a presenter.
public decorate ( mixed $value ) : mixed
$value mixed
리턴 mixed

make() 공개 메소드

Get a evaluated view contents for the given view.
public make ( string $view, array $data = [], array $mergeData = [] ) : Illuminate\View\View
$view string
$data array
$mergeData array
리턴 Illuminate\View\View

share() 공개 메소드

Add a piece of shared data to the factory.
public share ( string $key, mixed $value = null ) : void
$key string
$value mixed
리턴 void

프로퍼티 상세

$presenterDecorator 보호되어 있는 프로퍼티

Used for "decorating" objects to have presenters.
protected Decorator,Robbo\Presenter $presenterDecorator
리턴 Robbo\Presenter\Decorator