Home
last modified time | relevance | path

Searched refs:Environment (Results 1 – 25 of 59) sorted by relevance

123

/template/twigstarter/vendor/twig/twig/src/NodeVisitor/
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 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 DNodeVisitorInterface.php14 use Twig\Environment; alias
29 public function enterNode(Node $node, Environment $env);
36 public function leaveNode(Node $node, Environment $env);
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 DSandboxNodeVisitor.php14 use Twig\Environment; alias
41 protected function doEnterNode(Node $node, Environment $env)
99 protected function doLeaveNode(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)
/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([]));
H A DIntegrationTestCase.php15 use Twig\Environment; alias
164 $twig = new Environment($loader, $config);
/template/twigstarter/vendor/twig/twig/doc/
H A Ddeprecated.rst65 Environment chapter
68 * As of Twig 2.7, the ``base_template_class`` option on ``Twig\Environment`` is
71 * As of Twig 2.7, the ``Twig\Environment::getBaseTemplateClass()`` and
72 ``Twig\Environment::setBaseTemplateClass()`` methods are deprecated and will
75 * As of Twig 2.7, the ``Twig\Environment::getTemplateClass()`` is marked as
79 ``Twig\Environment::load()`` and ``Twig\Environment::resolveTemplate()`` is
82 * Depending on the input, ``Twig\Environment::resolveTemplate()`` can return
H A Dintro.rst54 $twig = new \Twig\Environment($loader);
59 environment (``\Twig\Environment``) to store its configuration.
68 $twig = new \Twig\Environment($loader, [
H A Dadvanced.rst110 $twig = new \Twig\Environment($loader);
147 $twig = new \Twig\Environment($loader);
178 Environment-aware Filters
286 $twig = new \Twig\Environment($loader);
301 $twig = new \Twig\Environment($loader);
311 $twig = new \Twig\Environment($loader);
331 use Twig\Environment;
335 $twig = new Environment($loader);
456 $twig = new \Twig\Environment($loader);
642 main ``Environment`` object::
[all …]
/template/twigstarter/vendor/twig/twig/src/Extension/
H A DCoreExtension.php344 use Twig\Environment; alias
384 function twig_random(Environment $env, $values = null, $max = null)
701 function twig_first(Environment $env, $item)
715 function twig_last(Environment $env, $item)
1019 function twig_length_filter(Environment $env, $thing)
1051 function twig_upper_filter(Environment $env, $string)
1063 function twig_lower_filter(Environment $env, $string)
1075 function twig_title_string_filter(Environment $env, $string)
1091 function twig_capitalize_string_filter(Environment $env, $string)
1550 function twig_array_filter(Environment $env, $array, $arrow)
[all …]
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 DDebugExtension.php39 use Twig\Environment; alias
43 function twig_var_dump(Environment $env, $context, ...$vars)
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/lib/Twig/
H A DEnvironment.php3 use Twig\Environment; alias
11 class Twig_Environment extends Environment
/template/twigstarter/vendor/twig/twig/src/Profiler/NodeVisitor/
H A DProfilerNodeVisitor.php14 use Twig\Environment; alias
37 protected function doEnterNode(Node $node, Environment $env)
42 protected function doLeaveNode(Node $node, Environment $env)
/template/twigstarter/vendor/twig/twig/src/Util/
H A DDeprecationCollector.php14 use Twig\Environment; alias
25 public function __construct(Environment $twig)
/template/twigstarter/
H A DTemplateController.php10 use Twig\Environment; alias
45 $this->twig = new Environment($loader, [
/template/twigstarter/vendor/twig/twig/src/
H A DCompiler.php33 public function __construct(Environment $env)
41 * @return Environment
H A DNodeTraverser.php32 public function __construct(Environment $env, array $visitors = [])
/template/twigstarter/vendor/twig/twig/doc/filters/
H A Ddate.rst42 $twig = new \Twig\Environment($loader);
65 $twig = new \Twig\Environment($loader);
/template/twigstarter/vendor/twig/twig/doc/functions/
H A Dcountry_timezones.rst35 $twig = new \Twig\Environment(...);

123