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 |
FilterControllerArgumentsEvent.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\HttpKernel\Event;
13
14 use Symfony\Component\HttpFoundation\Request;
15 use Symfony\Component\HttpKernel\HttpKernelInterface;
16
17 /**
18 * Allows filtering of controller arguments.
19 *
20 * You can call getController() to retrieve the controller and getArguments
21 * to retrieve the current arguments. With setArguments() you can replace
22 * arguments that are used to call the controller.
23 *
24 * Arguments set in the event must be compatible with the signature of the
25 * controller.
26 *
27 * @author Christophe Coevoet <stof@notk.org>
28 */
29 class FilterControllerArgumentsEvent extends FilterControllerEvent
30 {
31 private $arguments;
32
33 public function __construct(HttpKernelInterface $kernel, callable $controller, array $arguments, Request $request, $requestType)
34 {
35 parent::__construct($kernel, $controller, $request, $requestType);
36
37 $this->arguments = $arguments;
38 }
39
40 /**
41 * @return array
42 */
43 public function getArguments()
44 {
45 return $this->arguments;
46 }
47
48 public function setArguments(array $arguments)
49 {
50 $this->arguments = $arguments;
51 }
52 }
53