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

InstanceofConfigurator.php

Zuletzt modifiziert: 02.04.2025, 15:03 - Dateigröße: 1.00 KiB


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\DependencyInjection\Loader\Configurator;
13   
14  /**
15   * @author Nicolas Grekas <p@tchwork.com>
16   *
17   * @method InstanceofConfigurator instanceof(string $fqcn)
18   */
19  class InstanceofConfigurator extends AbstractServiceConfigurator
20  {
21      const FACTORY = 'instanceof';
22   
23      use Traits\AutowireTrait;
24      use Traits\CallTrait;
25      use Traits\ConfiguratorTrait;
26      use Traits\LazyTrait;
27      use Traits\PropertyTrait;
28      use Traits\PublicTrait;
29      use Traits\ShareTrait;
30      use Traits\TagTrait;
31   
32      /**
33       * Defines an instanceof-conditional to be applied to following service definitions.
34       *
35       * @param string $fqcn
36       *
37       * @return self
38       */
39      final protected function setInstanceof($fqcn)
40      {
41          return $this->parent->instanceof($fqcn);
42      }
43  }
44