Latte\Macros\MacroSet::checkExtraArgs PHP Метод

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

protected checkExtraArgs ( MacroNode $node )
$node Latte\MacroNode
    protected function checkExtraArgs(MacroNode $node)
    {
        if ($node->tokenizer->isNext()) {
            $args = Latte\Runtime\Filters::truncate($node->tokenizer->joinAll(), 20);
            trigger_error("Unexpected arguments '{$args}' in " . $node->getNotation());
        }
    }