PHP Класс Robbo\Presenter\View\Factory

Наследование: extends Illuminate\View\Factory
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$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