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

EnvVarProcessorInterface.php

Zuletzt modifiziert: 02.04.2025, 15:02 - Dateigröße: 1.12 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;
13   
14  use Symfony\Component\DependencyInjection\Exception\RuntimeException;
15   
16  /**
17   * The EnvVarProcessorInterface is implemented by objects that manage environment-like variables.
18   *
19   * @author Nicolas Grekas <p@tchwork.com>
20   */
21  interface EnvVarProcessorInterface
22  {
23      /**
24       * Returns the value of the given variable as managed by the current instance.
25       *
26       * @param string   $prefix The namespace of the variable
27       * @param string   $name   The name of the variable within the namespace
28       * @param \Closure $getEnv A closure that allows fetching more env vars
29       *
30       * @return mixed
31       *
32       * @throws RuntimeException on error
33       */
34      public function getEnv($prefix, $name, \Closure $getEnv);
35   
36      /**
37       * @return string[] The PHP-types managed by getEnv(), keyed by prefixes
38       */
39      public static function getProvidedTypes();
40  }
41