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. |
|
(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 /**
26 * @var string
27 */
28 private $name;
29
30 /**
31 * @var Route
32 */
33 private $route;
34
35 /**
36 * Constructor.
37 *
38 * @param string $name The route name
39 * @param Route $route The route
40 */
41 public function __construct($name, Route $route)
42 {
43 $this->name = $name;
44 $this->route = $route;
45 }
46
47 /**
48 * Returns the route name.
49 *
50 * @return string The route name
51 */
52 public function getName()
53 {
54 return $this->name;
55 }
56
57 /**
58 * Returns the route.
59 *
60 * @return Route The route
61 */
62 public function getRoute()
63 {
64 return $this->route;
65 }
66 }
67