Verzeichnisstruktur phpBB-3.3.16


Veröffentlicht
27.04.2026

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

Runner.php

Zuletzt modifiziert: 01.05.2026, 11:26 - Dateigröße: 773.00 Bytes


 01  <?php declare(strict_types=1);
 02   
 03  /**
 04  * @package   s9e\RegexpBuilder
 05  * @copyright Copyright (c) 2016-2022 The s9e authors
 06  * @license   http://www.opensource.org/licenses/mit-license.php The MIT License
 07  */
 08  namespace s9e\RegexpBuilder;
 09   
 10  use s9e\RegexpBuilder\Passes\PassInterface;
 11   
 12  class Runner
 13  {
 14      /**
 15      * @var PassInterface[]
 16      */
 17      protected $passes = [];
 18   
 19      /**
 20      * Add a pass to the list
 21      *
 22      * @param  PassInterface $pass
 23      * @return void
 24      */
 25      public function addPass(PassInterface $pass): void
 26      {
 27          $this->passes[] = $pass;
 28      }
 29   
 30      /**
 31      * Run all passes on the list of strings
 32      *
 33      * @param  array[] $strings
 34      * @return array[]
 35      */
 36      public function run(array $strings): array
 37      {
 38          foreach ($this->passes as $pass)
 39          {
 40              $strings = $pass->run($strings);
 41          }
 42   
 43          return $strings;
 44      }
 45  }