PHP Интерфейс FOF30\View\Compiler\CompilerInterface

Показать файл Открыть проект

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

Метод Описание
compile ( array $path, array $forceParams = [] ) : mixed Compile a view template into PHP and HTML
isCacheable ( ) : mixed Are the results of this compiler engine cacheable? If the engine makes use of the forcedParams it must return false.

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

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

Compile a view template into PHP and HTML
public compile ( array $path, array $forceParams = [] ) : mixed
$path array The absolute filesystem path of the view template
$forceParams array Any parameters to force (only for engines returning raw HTML)
Результат mixed

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

Are the results of this compiler engine cacheable? If the engine makes use of the forcedParams it must return false.
public isCacheable ( ) : mixed
Результат mixed