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

RequestMatcherInterface.php

Zuletzt modifiziert: 02.04.2025, 15:03 - Dateigröße: 1.26 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\Routing\Matcher;
13   
14  use Symfony\Component\HttpFoundation\Request;
15  use Symfony\Component\Routing\Exception\MethodNotAllowedException;
16  use Symfony\Component\Routing\Exception\NoConfigurationException;
17  use Symfony\Component\Routing\Exception\ResourceNotFoundException;
18   
19  /**
20   * RequestMatcherInterface is the interface that all request matcher classes must implement.
21   *
22   * @author Fabien Potencier <fabien@symfony.com>
23   */
24  interface RequestMatcherInterface
25  {
26      /**
27       * Tries to match a request with a set of routes.
28       *
29       * If the matcher can not find information, it must throw one of the exceptions documented
30       * below.
31       *
32       * @return array An array of parameters
33       *
34       * @throws NoConfigurationException  If no routing configuration could be found
35       * @throws ResourceNotFoundException If no matching resource could be found
36       * @throws MethodNotAllowedException If a matching resource was found but the request method is not allowed
37       */
38      public function matchRequest(Request $request);
39  }
40