[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/twig-bridge/Node/ -> TransDefaultDomainNode.php (source)

   1  <?php
   2  
   3  /*
   4   * This file is part of the Symfony package.
   5   *
   6   * (c) Fabien Potencier <fabien@symfony.com>
   7   *
   8   * For the full copyright and license information, please view the LICENSE
   9   * file that was distributed with this source code.
  10   */
  11  
  12  namespace Symfony\Bridge\Twig\Node;
  13  
  14  use Twig\Compiler;
  15  use Twig\Node\Expression\AbstractExpression;
  16  use Twig\Node\Node;
  17  
  18  /**
  19   * @author Fabien Potencier <fabien@symfony.com>
  20   */
  21  class TransDefaultDomainNode extends Node
  22  {
  23      public function __construct(AbstractExpression $expr, $lineno = 0, $tag = null)
  24      {
  25          parent::__construct(array('expr' => $expr), array(), $lineno, $tag);
  26      }
  27  
  28      public function compile(Compiler $compiler)
  29      {
  30          // noop as this node is just a marker for TranslationDefaultDomainNodeVisitor
  31      }
  32  }


Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1