File "CheckSecurityCallNode.php"
Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/twig/twig/src/Node/CheckSecurityCallNode.php
File size: 348 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Twig\Node;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Compiler;
class CheckSecurityCallNode extends Node
{
public function compile(Compiler $compiler)
{
$compiler->write("\$this->sandbox = \$this->env->getExtension('\\Twig\\Extension\\SandboxExtension');\n")->write("\$this->checkSecurity();\n");
}
}