File "TextNode.php"
Full Path: /home/warrior1/public_html/plugins/mailpoet/vendor-prefixed/twig/twig/src/Node/TextNode.php
File size: 442 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Twig\Node;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Compiler;
class TextNode extends Node implements NodeOutputInterface
{
public function __construct(string $data, int $lineno)
{
parent::__construct([], ['data' => $data], $lineno);
}
public function compile(Compiler $compiler) : void
{
$compiler->addDebugInfo($this)->write('echo ')->string($this->getAttribute('data'))->raw(";\n");
}
}