Verzeichnisstruktur phpBB-3.3.15


Veröffentlicht
28.08.2024

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

FlushTokenParser.php

Zuletzt modifiziert: 02.04.2025, 15:03 - Dateigröße: 735.00 Bytes


01  <?php
02   
03  /*
04   * This file is part of Twig.
05   *
06   * (c) Fabien Potencier
07   *
08   * For the full copyright and license information, please view the LICENSE
09   * file that was distributed with this source code.
10   */
11   
12  namespace Twig\TokenParser;
13   
14  use Twig\Node\FlushNode;
15  use Twig\Token;
16   
17  /**
18   * Flushes the output to the client.
19   *
20   * @see flush()
21   */
22  final class FlushTokenParser extends AbstractTokenParser
23  {
24      public function parse(Token $token)
25      {
26          $this->parser->getStream()->expect(/* Token::BLOCK_END_TYPE */ 3);
27   
28          return new FlushNode($token->getLine(), $this->getTag());
29      }
30   
31      public function getTag()
32      {
33          return 'flush';
34      }
35  }
36   
37  class_alias('Twig\TokenParser\FlushTokenParser', 'Twig_TokenParser_Flush');
38