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

BCResourceInterfaceChecker.php

Zuletzt modifiziert: 09.10.2024, 12:56 - Dateigröße: 1.13 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\Resource;
13   
14  /**
15   * Resource checker for the ResourceInterface. Exists for BC.
16   *
17   * @author Matthias Pigulla <mp@webfactory.de>
18   *
19   * @deprecated since 2.8, to be removed in 3.0.
20   */
21  class BCResourceInterfaceChecker extends SelfCheckingResourceChecker
22  {
23      public function supports(ResourceInterface $metadata)
24      {
25          /* As all resources must be instanceof ResourceInterface,
26             we support them all. */
27          return true;
28      }
29   
30      public function isFresh(ResourceInterface $resource, $timestamp)
31      {
32          @trigger_error(sprintf('The class "%s" is performing resource checking through ResourceInterface::isFresh(), which is deprecated since 2.8 and will be removed in 3.0', get_class($resource)), E_USER_DEPRECATED);
33   
34          return parent::isFresh($resource, $timestamp); // For now, $metadata features the isFresh() method, so off we go (quack quack)
35      }
36  }
37