Home
last modified time | relevance | path

Searched refs:getName (Results 1 – 21 of 21) sorted by last modified time

/template/twigstarter/vendor/twig/twig/src/
H A DExtensionSet.php160 …'Unable to add function "%s" as extensions have already been initialized.', $function->getName()));
219 …ntf('Unable to add filter "%s" as extensions have already been initialized.', $filter->getName()));
347 …sprintf('Unable to add test "%s" as extensions have already been initialized.', $test->getName()));
434 $this->filters[$filter->getName()] = $filter;
439 $this->functions[$function->getName()] = $function;
444 $this->tests[$test->getName()] = $test;
H A DTwigFilter.php62 public function getName() function in Twig\\TwigFilter
H A DTwigFunction.php60 public function getName() function in Twig\\TwigFunction
H A DParser.php362 … will become a syntax error in 3.0.', $this->stream->getSourceContext()->getName(), $node->getTemp…
370 … will become a syntax error in 3.0.', $this->stream->getSourceContext()->getName(), $node->getTemp…
H A DExpressionParser.php262 …if (!(\in_array($ref->getName(), [NegUnary::class, PosUnary::class, 'Twig_Node_Expression_Unary_Ne…
742 $message = sprintf('Twig Test "%s" is deprecated', $test->getName());
751 …$message .= sprintf(' in %s at line %d.', $src->getPath() ?: $src->getName(), $stream->getCurrent(…
769 $message = sprintf('Twig Function "%s" is deprecated', $function->getName());
777 $message .= sprintf(' in %s at line %d.', $src->getPath() ?: $src->getName(), $line);
795 $message = sprintf('Twig Filter "%s" is deprecated', $filter->getName());
803 $message .= sprintf(' in %s at line %d.', $src->getPath() ?: $src->getName(), $line);
H A DSource.php42 public function getName() function in Twig\\Source
H A DTwigTest.php56 public function getName() function in Twig\\TwigTest
H A DTemplate.php104 return $this->parents[$parent->getSourceContext()->getName()] = $parent;
/template/twigstarter/vendor/twig/twig/src/Profiler/Dumper/
H A DBaseDumper.php38 $start = $profile->getName();
H A DBlackfireDumper.php49 $name = sprintf('%s::%s(%s)', $p->getTemplate(), $p->getType(), $p->getName());
H A DHtmlDumper.php40 …:$colors[$profile->getType()]) ? self::$colors[$profile->getType()] : 'auto', $profile->getName());
H A DTextDumper.php28 …intf('%s└ %s::%s(%s)', $prefix, $profile->getTemplate(), $profile->getType(), $profile->getName());
/template/twigstarter/vendor/twig/twig/src/Profiler/
H A DProfile.php55 public function getName() function in Twig\\Profiler\\Profile
/template/twigstarter/vendor/twig/twig/src/Extension/
H A DStagingExtension.php37 if (isset($this->functions[$function->getName()])) {
38 … throw new \LogicException(sprintf('Function "%s" is already registered.', $function->getName()));
41 $this->functions[$function->getName()] = $function;
51 if (isset($this->filters[$filter->getName()])) {
52 … throw new \LogicException(sprintf('Filter "%s" is already registered.', $filter->getName()));
55 $this->filters[$filter->getName()] = $filter;
89 if (isset($this->tests[$test->getName()])) {
90 … throw new \LogicException(sprintf('Test "%s" is already registered.', $test->getName()));
93 $this->tests[$test->getName()] = $test;
/template/twigstarter/vendor/twig/twig/src/TokenParser/
H A DFilterTokenParser.php36 …ce Twig 2.9, use the "apply" tag instead.', $stream->getSourceContext()->getName(), $lineno), \E_U…
H A DForTokenParser.php46 …s on a variable updated inside the loop).', $stream->getSourceContext()->getName(), $lineno), \E_U…
H A DSpacelessTokenParser.php36 …ess" filter with the "apply" tag instead.', $stream->getSourceContext()->getName(), $lineno), \E_U…
/template/twigstarter/vendor/twig/twig/src/Node/
H A DModuleNode.php128 ->repr($this->getSourceContext()->getName())
164 ->write('/* '.str_replace('*/', '* /', $this->getSourceContext()->getName())." */\n")
165 …$compiler->getEnvironment()->getTemplateClass($this->getSourceContext()->getName(), $this->getAttr…
328 ->repr($this->getSourceContext()->getName())
367 ->repr($this->getSourceContext()->getName())
445 ->string($this->getSourceContext()->getName())
H A DNode.php197 return $this->sourceContext ? $this->sourceContext->getName() : null;
207 $this->setTemplateName($source->getName(), false);
/template/twigstarter/vendor/twig/twig/src/Error/
H A DError.php68 $name = $source->getName();
130 $this->name = $source->getName();
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
H A DCallExpression.php271 … $isArray = $argument && $argument->hasType() && 'array' === $argument->getType()->getName();