Home
last modified time | relevance | path

Searched refs:Environment (Results 1 – 25 of 28) sorted by last modified time

12

/template/twigstarter/vendor/twig/twig/src/NodeVisitor/
H A DMacroAutoImportNodeVisitor.php14 use Twig\Environment; alias
32 public function enterNode(Node $node, Environment $env)
42 public function leaveNode(Node $node, Environment $env)
H A DEscaperNodeVisitor.php14 use Twig\Environment; alias
47 protected function doEnterNode(Node $node, Environment $env)
66 protected function doLeaveNode(Node $node, Environment $env)
92 …private function shouldUnwrapConditional(ConditionalExpression $expression, Environment $env, $typ…
100 private function unwrapConditional(ConditionalExpression $expression, Environment $env, $type)
119 private function escapeInlinePrintNode(InlinePrint $node, Environment $env, $type)
130 private function escapePrintNode(PrintNode $node, Environment $env, $type)
147 private function preEscapeFilterNode(FilterExpression $filter, Environment $env)
184 private function needEscaping(Environment $env)
H A DOptimizerNodeVisitor.php14 use Twig\Environment; alias
63 protected function doEnterNode(Node $node, Environment $env)
72 protected function doLeaveNode(Node $node, Environment $env)
94 private function optimizePrintNode(Node $node, Environment $env): Node
116 private function optimizeRawFilter(Node $node, Environment $env): Node
128 private function enterOptimizeFor(Node $node, Environment $env)
192 private function leaveOptimizeFor(Node $node, Environment $env)
H A DAbstractNodeVisitor.php14 use Twig\Environment; alias
26 final public function enterNode(Node $node, Environment $env)
31 final public function leaveNode(Node $node, Environment $env)
41 abstract protected function doEnterNode(Node $node, Environment $env);
48 abstract protected function doLeaveNode(Node $node, Environment $env);
H A DNodeVisitorInterface.php14 use Twig\Environment; alias
29 public function enterNode(Node $node, Environment $env);
36 public function leaveNode(Node $node, Environment $env);
H A DSafeAnalysisNodeVisitor.php14 use Twig\Environment; alias
74 protected function doEnterNode(Node $node, Environment $env)
79 protected function doLeaveNode(Node $node, Environment $env)
H A DSandboxNodeVisitor.php14 use Twig\Environment; alias
41 protected function doEnterNode(Node $node, Environment $env)
99 protected function doLeaveNode(Node $node, Environment $env)
/template/twigstarter/vendor/twig/twig/src/Extension/
H A DInitRuntimeInterface.php14 use Twig\Environment; alias
33 public function initRuntime(Environment $environment);
H A DStringLoaderExtension.php29 use Twig\Environment; alias
42 function twig_template_from_string(Environment $env, $template, string $name = null)
H A DCoreExtension.php344 use Twig\Environment; alias
384 function twig_random(Environment $env, $values = null, $max = null)
714 function twig_first(Environment $env, $item)
728 function twig_last(Environment $env, $item)
1061 function twig_length_filter(Environment $env, $thing)
1093 function twig_upper_filter(Environment $env, $string)
1105 function twig_lower_filter(Environment $env, $string)
1130 function twig_title_string_filter(Environment $env, $string)
1146 function twig_capitalize_string_filter(Environment $env, $string)
1605 function twig_array_filter(Environment $env, $array, $arrow)
[all …]
H A DEscaperExtension.php141 use Twig\Environment; alias
171 function twig_escape_filter(Environment $env, $string, $strategy = 'html', $charset = null, $autoes…
/template/twigstarter/vendor/twig/twig/src/
H A DExtensionSet.php55 public function initRuntime(Environment $env)
H A DLexer.php53 public function __construct(Environment $env, array $options = [])
H A DParser.php52 public function __construct(Environment $env)
H A DExpressionParser.php56 public function __construct(Parser $parser, Environment $env)
H A DTemplateWrapper.php30 public function __construct(Environment $env, Template $template)
H A DNodeTraverser.php32 public function __construct(Environment $env, array $visitors = [])
H A DEnvironment.php39 class Environment class
H A DTemplate.php44 public function __construct(Environment $env)
/template/twigstarter/vendor/twig/twig/
H A DCHANGELOG203 * fixed BC break on Environment::resolveTemplate()
224 …* deprecated passing a Twig\Template to Twig\Environment::load()/Twig\Environment::resolveTemplate…
225 * added the possibility to pass a TemplateWrapper to Twig\Environment::load()
226 * marked Twig\Environment::getTemplateClass() as internal (implementation detail)
237 * deprecated the "base_template_class" option on Twig\Environment
238 * deprecated the Twig\Environment::getBaseTemplateClass() and
239 Twig\Environment::setBaseTemplateClass() methods
302 * fixed Environment::resolveTemplate to accept instances of TemplateWrapper
/template/twigstarter/vendor/twig/twig/src/Profiler/NodeVisitor/
H A DProfilerNodeVisitor.php14 use Twig\Environment; alias
39 protected function doEnterNode(Node $node, Environment $env)
44 protected function doLeaveNode(Node $node, Environment $env)
/template/twigstarter/
H A DTemplateController.php10 use Twig\Environment; alias
45 $this->twig = new Environment($loader, [
/template/twigstarter/vendor/twig/twig/lib/Twig/
H A DEnvironment.php3 use Twig\Environment; alias
11 class Twig_Environment extends Environment
/template/twigstarter/vendor/twig/twig/src/Test/
H A DNodeTestCase.php16 use Twig\Environment; alias
32 …public function assertNodeCompilation($source, Node $node, Environment $environment = null, $isPat…
44 protected function getCompiler(Environment $environment = null)
51 return new Environment(new ArrayLoader([]));
/template/twigstarter/vendor/twig/twig/src/Util/
H A DDeprecationCollector.php14 use Twig\Environment; alias
25 public function __construct(Environment $twig)

12