Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 36) sorted by relevance

12

/template/twigstarter/vendor/twig/twig/src/Resources/
Dcore.php35 function twig_random(Environment $env, $values = null, $max = null) argument
39 return CoreExtension::random($env->getCharset(), $values, $max);
47 function twig_date_format_filter(Environment $env, $date, $format = null, $timezone = null) argument
51 return $env->getExtension(CoreExtension::class)->formatDate($date, $format, $timezone);
59 function twig_date_modify_filter(Environment $env, $date, $modifier) argument
63 return $env->getExtension(CoreExtension::class)->modifyDate($date, $modifier);
83 function twig_date_converter(Environment $env, $date = null, $timezone = null) argument
87 return $env->getExtension(CoreExtension::class)->convertDate($date, $timezone);
119 function twig_number_format_filter(Environment $env, $number, $decimal = null, $decimalPoint = null… argument
123 …return $env->getExtension(CoreExtension::class)->formatNumber($number, $decimal, $decimalPoint, $t…
[all …]
Ddebug.php20 function twig_var_dump(Environment $env, $context, ...$vars) argument
24 DebugExtension::dump($env, $context, ...$vars);
Dstring_loader.php21 function twig_template_from_string(Environment $env, $template, ?string $name = null): TemplateWrap… argument
25 return StringLoaderExtension::templateFromString($env, $template, $name);
Descaper.php34 function twig_escape_filter(Environment $env, $string, $strategy = 'html', $charset = null, $autoes… argument
38 … return $env->getRuntime(EscaperRuntime::class)->escape($string, $strategy, $charset, $autoescape);
/template/twigstarter/vendor/twig/twig/src/NodeVisitor/
DEscaperNodeVisitor.php49 public function enterNode(Node $node, Environment $env): Node argument
52 …if ($env->hasExtension(EscaperExtension::class) && $defaultStrategy = $env->getExtension(EscaperEx…
68 public function leaveNode(Node $node, Environment $env): ?Node argument
75 return $this->preEscapeFilterNode($node, $env);
79 $this->escapeConditional($expression, $env, $type);
81 $node->setNode('expr', $this->escapeExpression($expression, $env, $type));
99 private function escapeConditional($expression, Environment $env, string $type): void argument
105 $this->escapeConditional($operand, $env, $type);
107 $expression->setNode($name, $this->escapeExpression($operand, $env, $type));
112 …private function escapeExpression(AbstractExpression $expression, Environment $env, string $type):… argument
[all …]
DAbstractNodeVisitor.php26 final public function enterNode(Node $node, Environment $env): Node argument
28 return $this->doEnterNode($node, $env);
31 final public function leaveNode(Node $node, Environment $env): ?Node argument
33 return $this->doLeaveNode($node, $env);
41 abstract protected function doEnterNode(Node $node, Environment $env); argument
48 abstract protected function doLeaveNode(Node $node, Environment $env); argument
DNodeVisitorInterface.php29 public function enterNode(Node $node, Environment $env): Node; argument
36 public function leaveNode(Node $node, Environment $env): ?Node; argument
DYieldNotReadyNodeVisitor.php31 public function enterNode(Node $node, Environment $env): Node argument
50 public function leaveNode(Node $node, Environment $env): ?Node argument
DSafeAnalysisNodeVisitor.php88 public function enterNode(Node $node, Environment $env): Node argument
93 public function leaveNode(Node $node, Environment $env): ?Node argument
119 $filter = $env->getFilter($node->getAttribute('name'));
140 $function = $env->getFunction($node->getAttribute('name'));
/template/twigstarter/vendor/twig/twig/src/
DNodeTraverser.php26 private $env; variable in Twig\\NodeTraverser
32 public function __construct(Environment $env, array $visitors = []) argument
34 $this->env = $env;
62 $node = $visitor->enterNode($node, $this->env);
74 return $visitor->leaveNode($node, $this->env);
DTemplate.php46 protected Environment $env, argument
48 $this->useYield = $env->useYield();
49 $this->extensions = $env->getExtensions();
166 if ($this->env->isDebug()) {
201 if ($this->env->isDebug()) {
285 return $this->env->resolveTemplate($template)->unwrap();
298 $class = $this->env->getTemplateClass($template);
301 return $this->env->loadTemplate($class, $template, $index);
375 if ($this->env->isDebug()) {
406 $context += $this->env->getGlobals();
DParser.php63 private Environment $env, argument
65 $this->parsers = $env->getExpressionParsers();
70 return $this->env;
96 $this->visitors = $this->env->getNodeVisitors();
139 $traverser = new NodeTraverser($this->env, $this->visitors);
211 if (!$subparser = $this->env->getTokenParser($token->getValue())) {
221 … $e->addSuggestions($token->getValue(), array_keys($this->env->getTokenParsers()));
376 $this->expressionParser = new ExpressionParser($this, $this->env);
449 $function = $this->env->getFunction($name);
463 $e->addSuggestions($name, array_keys($this->env->getFunctions()));
[all …]
DTemplateWrapper.php28 private Environment $env, argument
79 return $this->template->renderBlock($name, $context + $this->env->getGlobals());
87 $context += $this->env->getGlobals();
/template/strap/vendor/symfony/process/
H A DPhpProcess.php31 …* @param array|null $env The environment variables or null to use the same environment as the…
35 …public function __construct(string $script, ?string $cwd = null, ?array $env = null, int $timeout … argument
50 parent::__construct($php, $cwd, $env, $script, $timeout);
56 …public static function fromShellCommandline(string $command, ?string $cwd = null, ?array $env = nu… argument
64 public function start(?callable $callback = null, array $env = []) argument
70 parent::start($callback, $env);
H A DProcess.php58 private $env = []; variable in Symfony\\Component\\Process\\Process
138 …* @param array|null $env The environment variables or null to use the same environment as …
144 …public function __construct(array $command, ?string $cwd = null, ?array $env = null, $input = null… argument
160 if (null !== $env) {
161 $this->setEnv($env);
185 …* @param array|null $env The environment variables or null to use the same environment as …
193 …public static function fromShellCommandline(string $command, ?string $cwd = null, ?array $env = nu… argument
195 $process = new static([], $cwd, $env, $input, $timeout);
251 public function run(?callable $callback = null, array $env = []): int argument
253 $this->start($callback, $env);
[all …]
H A DCHANGELOG.md27 * deprecated `Process::inheritEnvironmentVariables()`: env variables are always inherited.
43 * made `PhpExecutableFinder` look for the `PHP_BINARY` env var when searching the php binary
50 * added a second `array $env = []` argument to the `start()`, `run()`,
52 * added a second `array $env = []` argument to the `start()` method of the
73 * added `$env` argument to `Process::start()`, `run()`, `mustRun()` and `restart()` methods
/template/strap/resources/firebug/
H A Dfirebug-lite-1.2-compressed.js12env:{"css":"http://getfirebug.com/releases/lite/1.2/firebug-lite.css","debug":true,"detectFirebug"… property
13 …ame(_file),_line));};}catch(e){}},overrideConsole:function(){with(firebug){env.override=true;try{i…
14 initConsole();}},restoreConsole:function(){with(firebug){if(internal.extConsole){env.override=false…
15 …document.getElementsByTagName('html')[0].attributes.getNamedItem('debug')){env.debug=document.getE…
16env.openInPopup=false;internal.targetWindow=window.opener;env.popupWidth=window.opener.firebug.env
17 settings.readCookie();if(internal.init||(env.detectFirebug&&window.console&&window.console.firebug)…
19 …e.set("rel","stylesheet").attribute.set("type","text/css").attribute.set("href",env.css).element);}
20 if(env.override){overrideConsole();}
23 if(lib.env.ie||lib.env.webkit){el.button.container.environment.addStyle({"paddingTop":"12px"});}
25 …nsole.cache[i];d.console.cmd[item.command].apply(window,item.arg);};if(lib.env.ie6){window.onscrol…
[all …]
H A Dfirebug-lite-1.2.js15 env:{ property
48 …if((!window.console || (window.console && !window.console.firebug)) || (firebug.env.override && !(…
62 env.override=true;
72 env.override=false;
87env.debug = document.getElementsByTagName('html')[0].attributes.getNamedItem('debug').nodeValue !=…
91 env.openInPopup = false;
93env.popupWidth = window.opener.firebug.env.popupWidth || window.opener.firebug.lib.util.GetViewpor…
94env.popupHeight = window.opener.firebug.env.popupHeight || window.opener.firebug.lib.util.GetViewp…
97 env.popupWidth = env.popupWidth || lib.util.GetViewport().width;
98 env.popupHeight = env.popupHeight || lib.util.GetViewport().height;
[all …]
/template/twigstarter/vendor/twig/twig/src/Extension/
DStringLoaderExtension.php39 …public static function templateFromString(Environment $env, string|\Stringable $template, ?string … argument
41 return $env->createTemplate((string) $template, $name);
DDebugExtension.php39 public static function dump(Environment $env, $context, ...$vars) argument
41 if (!$env->isDebug()) {
DCoreExtension.php564 …public static function dateConverter(Environment $env, $date, $format = null, $timezone = null): s… argument
566 return $env->getExtension(self::class)->formatDate($date, $format, $timezone);
1047 public static function sort(Environment $env, bool $isSandboxed, $array, $arrow = null): array argument
1495 …public static function include(Environment $env, $context, $template, $variables = [], $withContex… argument
1503 if ($isSandboxed = $sandboxed && $env->hasExtension(SandboxExtension::class)) {
1504 $sandbox = $env->getExtension(SandboxExtension::class);
1513 $loaded = $env->resolveTemplate($template);
1538 public static function source(Environment $env, $name, $ignoreMissing = false): string argument
1540 $loader = $env->getLoader();
1682 …public static function getAttribute(Environment $env, Source $source, $object, $item, array $argum… argument
[all …]
/template/mikio/inc/stemmechanics/lesserphp/
H A Dlessc.inc.php76 protected $env; variable in lessc
226 $env = $this->pushEnv();
229 $env->selectors = $this->multiplySelectors($selectors);
230 $out = $this->makeOutputBlock(null, $env->selectors);
235 $block->scope = $env; // mixins carry scope with them!
240 $env = $this->pushEnv($media);
243 $query = $this->compileMediaQuery($this->multiplyMedia($env));
403 protected function multiplyMedia($env, $childQueries = null) { argument
404 if (is_null($env) ||
405 !empty($env->block->type) && $env->block->type != "media")
[all …]
/template/chippedsnow/
Dless-1.1.3.min.js28env=="development"&&(g=setInterval(function(){document.body&&(document.getElementById(c)?document.…
29env=d.env||(location.hostname=="127.0.0.1"||location.hostname=="0.0.0.0"||location.hostname=="loca…
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
DGetAttrExpression.php51 $env = $compiler->getEnvironment();
58 && (!$env->isStrictVariables() || $this->getAttribute('ignore_strict_check'))
69 if (!$env->hasExtension(SandboxExtension::class)) {
147 ->raw(', ')->repr($env->hasExtension(SandboxExtension::class))
/template/twigstarter/vendor/twig/twig/src/Profiler/NodeVisitor/
DProfilerNodeVisitor.php39 public function enterNode(Node $node, Environment $env): Node argument
44 public function leaveNode(Node $node, Environment $env): ?Node argument

12