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. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
DumperRoute.php
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\Dumper;
13
14 use Symfony\Component\Routing\Route;
15
16 /**
17 * Container for a Route.
18 *
19 * @author Arnaud Le Blanc <arnaud.lb@gmail.com>
20 *
21 * @internal
22 */
23 class DumperRoute
24 {
25 private $name;
26 private $route;
27
28 /**
29 * @param string $name The route name
30 * @param Route $route The route
31 */
32 public function __construct($name, Route $route)
33 {
34 $this->name = $name;
35 $this->route = $route;
36 }
37
38 /**
39 * Returns the route name.
40 *
41 * @return string The route name
42 */
43 public function getName()
44 {
45 return $this->name;
46 }
47
48 /**
49 * Returns the route.
50 *
51 * @return Route The route
52 */
53 public function getRoute()
54 {
55 return $this->route;
56 }
57 }
58