PHP Класс Essence\Provider\Presenter\Templater

Наследование: extends Essence\Provider\Presenter
Показать файл Открыть проект

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

Свойство Тип Описание
$_property string Property to update.
$_switch string Property to test.
$_templates array Templates.

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

Метод Описание
__construct ( string $property, string $switch, array $templates ) Constructor.
present ( Media $Media ) {@inheritDoc}

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

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

Constructor.
public __construct ( string $property, string $switch, array $templates )
$property string Property to update.
$switch string Property to test.
$templates array Mapping.

present() публичный метод

{@inheritDoc}
public present ( Media $Media )
$Media Essence\Media

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

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

Property to update.
protected string $_property
Результат string

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

Property to test.
protected string $_switch
Результат string

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

Templates.
protected array $_templates
Результат array