Current Path : /var/www/html/newsite/wp-content/plugins/mailpoet/vendor-prefixed/twig/twig/src/Node/ |
Current File : /var/www/html/newsite/wp-content/plugins/mailpoet/vendor-prefixed/twig/twig/src/Node/TextNode.php |
<?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"); } }