• File: AbstractTokenParser.php
  • Full Path: /home4/jdaxcom/j3dax.online/wp-content/plugins/elementor/vendor_prefixed/twig/twig/twig/src/TokenParser/AbstractTokenParser.php
  • Date Modified: 02/18/2026 4:17 AM
  • File size: 599 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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\TokenParser;

use ElementorDeps\Twig\Parser;
/**
 * Base class for all token parsers.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 */
abstract class AbstractTokenParser implements TokenParserInterface
{
    /**
     * @var Parser
     */
    protected $parser;
    public function setParser(Parser $parser) : void
    {
        $this->parser = $parser;
    }
}