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 |
TraceableArgumentResolver.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\Controller;
13
14 use Symfony\Component\HttpFoundation\Request;
15 use Symfony\Component\Stopwatch\Stopwatch;
16
17 /**
18 * @author Fabien Potencier <fabien@symfony.com>
19 */
20 class TraceableArgumentResolver implements ArgumentResolverInterface
21 {
22 private $resolver;
23 private $stopwatch;
24
25 public function __construct(ArgumentResolverInterface $resolver, Stopwatch $stopwatch)
26 {
27 $this->resolver = $resolver;
28 $this->stopwatch = $stopwatch;
29 }
30
31 /**
32 * {@inheritdoc}
33 */
34 public function getArguments(Request $request, $controller)
35 {
36 $e = $this->stopwatch->start('controller.get_arguments');
37
38 $ret = $this->resolver->getArguments($request, $controller);
39
40 $e->stop();
41
42 return $ret;
43 }
44 }
45