FOF30\View\Compiler\Blade::compileEmpty PHP Метод

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

Compile the forelse statements into valid PHP.
protected compileEmpty ( string $expression ) : string
$expression string
Результат string
    protected function compileEmpty($expression)
    {
        $empty = '$__empty_' . $this->forelseCounter--;
        return "<?php endforeach; if ({$empty}): ?>";
    }