File "FlushTokenParser.php"
Full Path: /home/warrior1/public_html/wp-content-20241001222009/plugins/mailpoet/vendor-prefixed/twig/twig/src/TokenParser/FlushTokenParser.php
File size: 458 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Twig\TokenParser;
if (!defined('ABSPATH')) exit;
use MailPoetVendor\Twig\Node\FlushNode;
use MailPoetVendor\Twig\Node\Node;
use MailPoetVendor\Twig\Token;
final class FlushTokenParser extends AbstractTokenParser
{
public function parse(Token $token) : Node
{
$this->parser->getStream()->expect(
3
);
return new FlushNode($token->getLine(), $this->getTag());
}
public function getTag() : string
{
return 'flush';
}
}