Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

AbstractTokenParser.php

Namespace

Twig\TokenParser

File

vendor/twig/twig/src/TokenParser/AbstractTokenParser.php

View source
<?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 Twig\TokenParser;

use 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;
    }

}

Classes

Title Deprecated Summary
AbstractTokenParser Base class for all token parsers.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal