[ SYSTEM ]: Linux wordpress 6.1.0-44-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
[ SERVER ]: Apache/2.4.66 (Debian) | PHP: 8.2.30
[ USER ]: www-data | IP: 172.19.30.54
GEFORCE FILE MANAGER
/
var
/
www
/
html
/
wordpress
/
wp-content
/
plugins
/
elementor
/
vendor_prefixed
/
twig
/
twig
/
twig
/
src
/
Node
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 Expression
SET
[ DEL ]
📄 AutoEscapeNode.php
940 B
SET
[ EDIT ]
|
[ DEL ]
📄 BlockNode.php
1,041 B
SET
[ EDIT ]
|
[ DEL ]
📄 BlockReferenceNode.php
902 B
SET
[ EDIT ]
|
[ DEL ]
📄 BodyNode.php
415 B
SET
[ EDIT ]
|
[ DEL ]
📄 CaptureNode.php
1,502 B
SET
[ EDIT ]
|
[ DEL ]
📄 CheckSecurityCallNode.php
622 B
SET
[ EDIT ]
|
[ DEL ]
📄 CheckSecurityNode.php
2,581 B
SET
[ EDIT ]
|
[ DEL ]
📄 CheckToStringNode.php
1,277 B
SET
[ EDIT ]
|
[ DEL ]
📄 DeprecatedNode.php
1,847 B
SET
[ EDIT ]
|
[ DEL ]
📄 DoNode.php
840 B
SET
[ EDIT ]
|
[ DEL ]
📄 EmbedNode.php
1,397 B
SET
[ EDIT ]
|
[ DEL ]
📄 FlushNode.php
700 B
SET
[ EDIT ]
|
[ DEL ]
📄 ForLoopNode.php
1,310 B
SET
[ EDIT ]
|
[ DEL ]
📄 ForNode.php
3,431 B
SET
[ EDIT ]
|
[ DEL ]
📄 IfNode.php
1,648 B
SET
[ EDIT ]
|
[ DEL ]
📄 ImportNode.php
1,587 B
SET
[ EDIT ]
|
[ DEL ]
📄 IncludeNode.php
2,821 B
SET
[ EDIT ]
|
[ DEL ]
📄 MacroNode.php
2,438 B
SET
[ EDIT ]
|
[ DEL ]
📄 ModuleNode.php
12,753 B
SET
[ EDIT ]
|
[ DEL ]
📄 NameDeprecation.php
928 B
SET
[ EDIT ]
|
[ DEL ]
📄 Node.php
7,959 B
SET
[ EDIT ]
|
[ DEL ]
📄 NodeCaptureInterface.php
397 B
SET
[ EDIT ]
|
[ DEL ]
📄 NodeOutputInterface.php
376 B
SET
[ EDIT ]
|
[ DEL ]
📄 PrintNode.php
1,027 B
SET
[ EDIT ]
|
[ DEL ]
📄 SandboxNode.php
1,126 B
SET
[ EDIT ]
|
[ DEL ]
📄 SetNode.php
2,872 B
SET
[ EDIT ]
|
[ DEL ]
📄 TextNode.php
825 B
SET
[ EDIT ]
|
[ DEL ]
📄 WithNode.php
1,956 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: WithNode.php
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace ElementorDeps\Twig\Node; use ElementorDeps\Twig\Attribute\YieldReady; use ElementorDeps\Twig\Compiler; /** * Represents a nested "with" scope. * * @author Fabien Potencier <fabien@symfony.com> */ #[YieldReady] class WithNode extends Node { public function __construct(Node $body, ?Node $variables, bool $only, int $lineno, ?string $tag = null) { $nodes = ['body' => $body]; if (null !== $variables) { $nodes['variables'] = $variables; } parent::__construct($nodes, ['only' => $only], $lineno, $tag); } public function compile(Compiler $compiler) : void { $compiler->addDebugInfo($this); $parentContextName = $compiler->getVarName(); $compiler->write(\sprintf("\$%s = \$context;\n", $parentContextName)); if ($this->hasNode('variables')) { $node = $this->getNode('variables'); $varsName = $compiler->getVarName(); $compiler->write(\sprintf('$%s = ', $varsName))->subcompile($node)->raw(";\n")->write(\sprintf("if (!is_iterable(\$%s)) {\n", $varsName))->indent()->write("throw new RuntimeError('Variables passed to the \"with\" tag must be a mapping.', ")->repr($node->getTemplateLine())->raw(", \$this->getSourceContext());\n")->outdent()->write("}\n")->write(\sprintf("\$%s = CoreExtension::toArray(\$%s);\n", $varsName, $varsName)); if ($this->getAttribute('only')) { $compiler->write("\$context = [];\n"); } $compiler->write(\sprintf("\$context = \$this->env->mergeGlobals(array_merge(\$context, \$%s));\n", $varsName)); } $compiler->subcompile($this->getNode('body'))->write(\sprintf("\$context = \$%s;\n", $parentContextName)); } }