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

LoaderInterface.php

Zuletzt modifiziert: 09.10.2024, 12:56 - Dateigröße: 1.41 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\Config\Loader;
13   
14  /**
15   * LoaderInterface is the interface implemented by all loader classes.
16   *
17   * @author Fabien Potencier <fabien@symfony.com>
18   */
19  interface LoaderInterface
20  {
21      /**
22       * Loads a resource.
23       *
24       * @param mixed       $resource The resource
25       * @param string|null $type     The resource type or null if unknown
26       *
27       * @throws \Exception If something went wrong
28       */
29      public function load($resource, $type = null);
30   
31      /**
32       * Returns whether this class supports the given resource.
33       *
34       * @param mixed       $resource A resource
35       * @param string|null $type     The resource type or null if unknown
36       *
37       * @return bool True if this class supports the given resource, false otherwise
38       */
39      public function supports($resource, $type = null);
40   
41      /**
42       * Gets the loader resolver.
43       *
44       * @return LoaderResolverInterface A LoaderResolverInterface instance
45       */
46      public function getResolver();
47   
48      /**
49       * Sets the loader resolver.
50       *
51       * @param LoaderResolverInterface $resolver A LoaderResolverInterface instance
52       */
53      public function setResolver(LoaderResolverInterface $resolver);
54  }
55