Latte\Runtime\Template::renderBlockParent PHP 메소드

renderBlockParent() 보호된 메소드

Renders parent block.
protected renderBlockParent ( $name, array $params ) : void
$params array
리턴 void
    protected function renderBlockParent($name, array $params)
    {
        if (empty($this->blockQueue[$name]) || ($block = next($this->blockQueue[$name])) === FALSE) {
            throw new \RuntimeException("Cannot include undefined parent block '{$name}'.");
        }
        $block($params);
        prev($this->blockQueue[$name]);
    }