Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

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

FileLocatorInterface.php

Zuletzt modifiziert: 09.10.2024, 12:54 - Dateigröße: 891.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\Config;
13   
14  /**
15   * @author Fabien Potencier <fabien@symfony.com>
16   */
17  interface FileLocatorInterface
18  {
19      /**
20       * Returns a full path for a given file name.
21       *
22       * @param string      $name        The file name to locate
23       * @param string|null $currentPath The current path
24       * @param bool        $first       Whether to return the first occurrence or an array of filenames
25       *
26       * @return string|array The full path to the file or an array of file paths
27       *
28       * @throws \InvalidArgumentException When file is not found
29       */
30      public function locate($name, $currentPath = null, $first = true);
31  }
32