Lines Matching refs:sprintf
36 …@trigger_error(sprintf('Passing a string as the $name argument of %s() is deprecated since version…
183 ->raw(sprintf(" extends %s\n", $compiler->getEnvironment()->getBaseTemplateClass()))
218 … $this->compileLoadTemplate($compiler, $trait->getNode('template'), sprintf('$_trait_%s', $i));
222 ->write(sprintf("if (!\$_trait_%s->isTraitable()) {\n", $i))
229 ->write(sprintf("\$_trait_%s_blocks = \$_trait_%s->getBlocks();\n\n", $i, $i))
234 ->write(sprintf('if (!isset($_trait_%s_blocks[', $i))
246 ->write(sprintf('$_trait_%s_blocks[', $i))
248 ->raw(sprintf('] = $_trait_%s_blocks[', $i))
250 ->raw(sprintf(']; unset($_trait_%s_blocks[', $i))
265 … ->write(sprintf('$_trait_%s_blocks'.($i == $countTraits - 1 ? '' : ',')."\n", $i))
298 ->write(sprintf("'%s' => [\$this, 'block_%s'],\n", $name, $name))
423 ->write(sprintf("return %s;\n", $traitable ? 'true' : 'false'))
434 …->write(sprintf("return %s;\n", str_replace("\n", '', var_export(array_reverse($compiler->getDebug…
475 ->write(sprintf('%s = $this->loadTemplate(', $var))