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

ServiceRouterLoader.php

Zuletzt modifiziert: 01.05.2026, 11:28 - Dateigröße: 862.00 Bytes


 01  <?php
 02   
 03  /*
 04   * This file is part of the Symfony package.
 05   *
 06   * (c) Fabien Potencier <fabien@symfony.com>
 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 Symfony\Component\Routing\Loader\DependencyInjection;
 13   
 14  use Psr\Container\ContainerInterface;
 15  use Symfony\Component\Routing\Loader\ObjectRouteLoader;
 16   
 17  /**
 18   * A route loader that executes a service to load the routes.
 19   *
 20   * @author Ryan Weaver <ryan@knpuniversity.com>
 21   */
 22  class ServiceRouterLoader extends ObjectRouteLoader
 23  {
 24      /**
 25       * @var ContainerInterface
 26       */
 27      private $container;
 28   
 29      public function __construct(ContainerInterface $container)
 30      {
 31          $this->container = $container;
 32      }
 33   
 34      protected function getServiceObject($id)
 35      {
 36          return $this->container->get($id);
 37      }
 38  }
 39