PHP Класс FOF30\View\Engine\CompilingEngine

Наследование: extends AbstractEngine, implements FOF30\View\Engine\EngineInterface
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$compiler The compiler used by this engine

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

Метод Описание
get ( string $path, array $forceParams = [] ) : array Get the evaluated contents of the view template.

Защищенные методы

Метод Описание
compile ( string $path, array $forceParams = [] ) : string A method to compile the raw view template into valid PHP
getCachePath ( $path )
getCached ( $path )
getIdentifier ( $path )
isCached ( $path )
putToCache ( $path, $content )

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

compile() защищенный Метод

A method to compile the raw view template into valid PHP
protected compile ( string $path, array $forceParams = [] ) : string
$path string The path to the view template
$forceParams array Any additional information to pass to the view template compiler
Результат string The template compiled to executable PHP

get() публичный Метод

Get the evaluated contents of the view template.
public get ( string $path, array $forceParams = [] ) : array
$path string The path to the view template
$forceParams array Any additional information to pass to the view template engine
Результат array Content evaluation information

getCachePath() защищенный Метод

protected getCachePath ( $path )

getCached() защищенный Метод

protected getCached ( $path )

getIdentifier() защищенный Метод

protected getIdentifier ( $path )

isCached() защищенный Метод

protected isCached ( $path )

putToCache() защищенный Метод

protected putToCache ( $path, $content )

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

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

The compiler used by this engine
protected $compiler