Home
last modified time | relevance | path

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

12

/template/twigstarter/vendor/twig/twig/src/Resources/
Dcore.php12 use Twig\Environment; alias
35 function twig_random(Environment $env, $values = null, $max = null)
47 function twig_date_format_filter(Environment $env, $date, $format = null, $timezone = null)
59 function twig_date_modify_filter(Environment $env, $date, $modifier)
83 function twig_date_converter(Environment $env, $date = null, $timezone = null)
119 function twig_number_format_filter(Environment $env, $number, $decimal = null, $decimalPoint = null…
155 function twig_slice(Environment $env, $item, $start, $length = null, $preserveKeys = false)
167 function twig_first(Environment $env, $item)
179 function twig_last(Environment $env, $item)
203 function twig_split_filter(Environment $env, $value, $delimiter, $limit = null)
[all …]
Ddebug.php12 use Twig\Environment; alias
20 function twig_var_dump(Environment $env, $context, ...$vars)
Dstring_loader.php12 use Twig\Environment; alias
21 function twig_template_from_string(Environment $env, $template, ?string $name = null): TemplateWrap…
Descaper.php12 use Twig\Environment; alias
34 function twig_escape_filter(Environment $env, $string, $strategy = 'html', $charset = null, $autoes…
/template/twigstarter/vendor/twig/twig/src/NodeVisitor/
DAbstractNodeVisitor.php14 use Twig\Environment; alias
26 final public function enterNode(Node $node, Environment $env): Node
31 final public function leaveNode(Node $node, Environment $env): ?Node
41 abstract protected function doEnterNode(Node $node, Environment $env);
48 abstract protected function doLeaveNode(Node $node, Environment $env);
DNodeVisitorInterface.php14 use Twig\Environment; alias
29 public function enterNode(Node $node, Environment $env): Node;
36 public function leaveNode(Node $node, Environment $env): ?Node;
DEscaperNodeVisitor.php14 use Twig\Environment; alias
49 public function enterNode(Node $node, Environment $env): Node
68 public function leaveNode(Node $node, Environment $env): ?Node
99 private function escapeConditional($expression, Environment $env, string $type): void
112 …private function escapeExpression(AbstractExpression $expression, Environment $env, string $type):…
117 … private function preEscapeFilterNode(FilterExpression $filter, Environment $env): FilterExpression
142 private function isSafeFor(string $type, AbstractExpression $expression, Environment $env): bool
172 …private function getEscaperFilter(Environment $env, string $type, AbstractExpression $node): Filte…
DYieldNotReadyNodeVisitor.php15 use Twig\Environment; alias
31 public function enterNode(Node $node, Environment $env): Node
50 public function leaveNode(Node $node, Environment $env): ?Node
DSandboxNodeVisitor.php14 use Twig\Environment; alias
46 public function enterNode(Node $node, Environment $env): Node
96 public function leaveNode(Node $node, Environment $env): ?Node
DSafeAnalysisNodeVisitor.php14 use Twig\Environment; alias
88 public function enterNode(Node $node, Environment $env): Node
93 public function leaveNode(Node $node, Environment $env): ?Node
DOptimizerNodeVisitor.php14 use Twig\Environment; alias
70 public function enterNode(Node $node, Environment $env): Node
79 public function leaveNode(Node $node, Environment $env): ?Node
/template/twigstarter/vendor/twig/twig/src/Test/
DNodeTestCase.php18 use Twig\Environment; alias
25 * @var Environment
62 …public function assertNodeCompilation($source, Node $node, ?Environment $environment = null, $isPa…
77 protected function getCompiler(?Environment $environment = null)
83 * @return Environment
92 protected static function createEnvironment(): Environment
94 return new Environment(new ArrayLoader());
DIntegrationTestCase.php15 use Twig\Environment; alias
236 $twig = new Environment($loader, $config);
/template/twigstarter/vendor/twig/twig/src/Extension/
DStringLoaderExtension.php14 use Twig\Environment; alias
39 …public static function templateFromString(Environment $env, string|\Stringable $template, ?string …
DDebugExtension.php14 use Twig\Environment; alias
39 public static function dump(Environment $env, $context, ...$vars)
DEscaperExtension.php14 use Twig\Environment; alias
71 public function setEnvironment(Environment $environment): void
133 * @param callable(Environment, string, string): string $callable A valid PHP callable
DAttributeExtension.php17 use Twig\Environment; alias
173 && Environment::class === $parameters[0]->getType()->getName()
DCoreExtension.php15 use Twig\Environment; alias
564 …public static function dateConverter(Environment $env, $date, $format = null, $timezone = null): s…
1047 public static function sort(Environment $env, bool $isSandboxed, $array, $arrow = null): array
1495 …public static function include(Environment $env, $context, $template, $variables = [], $withContex…
1538 public static function source(Environment $env, $name, $ignoreMissing = false): string
1682 …public static function getAttribute(Environment $env, Source $source, $object, $item, array $argum…
1948 …public static function column(Environment $env, bool $isSandboxed, $array, $name, $index = null): …
1981 public static function filter(Environment $env, bool $isSandboxed, $array, $arrow)
2002 public static function find(Environment $env, bool $isSandboxed, $array, $arrow)
2024 public static function map(Environment $env, bool $isSandboxed, $array, $arrow)
[all …]
/template/twigstarter/vendor/twig/twig/src/Profiler/NodeVisitor/
DProfilerNodeVisitor.php14 use Twig\Environment; alias
39 public function enterNode(Node $node, Environment $env): Node
44 public function leaveNode(Node $node, Environment $env): ?Node
/template/twigstarter/vendor/twig/twig/src/Util/
DDeprecationCollector.php14 use Twig\Environment; alias
24 private Environment $twig,
/template/twigstarter/
DTemplateController.php10 use Twig\Environment; alias
45 $this->twig = new Environment($loader, [
/template/twigstarter/vendor/twig/twig/src/
DCompiler.php33 private Environment $env,
37 public function getEnvironment(): Environment
DNodeTraverser.php32 public function __construct(Environment $env, array $visitors = [])
DTemplateWrapper.php28 private Environment $env,
/template/twigstarter/vendor/twig/twig/
DCHANGELOG81 * Add `Environment::registerUndefinedTestCallback()`
213 * Add the possibility to reset globals via `Environment::resetGlobals()`
214 * Deprecate `Environment::mergeGlobals()`
338 …* Deprecate passing Template to Environment::resolveTemplate(), Environment::load(), and Template:…
342 … the "use_yield" Environment option can be turned on when all nodes have been made `#[YieldReady]`;
534 * changed Environment::resolveTemplate() to always return a TemplateWrapper instance
542 * removed Twig\Environment::getBaseTemplateClass() and Twig\Environment::setBaseTemplateClass()
543 * removed the "base_template_class" option on Twig\Environment

12