Last active
May 3, 2020 17:38
-
-
Save anvodev/9c729273f685bfd0998834887ee540d5 to your computer and use it in GitHub Desktop.
controller arguments stage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //vendor/symfony/http-kernel/HttpKernel.php | |
| <?php | |
| //... | |
| // controller arguments | |
| $arguments = $this->argumentResolver->getArguments($request, $controller); | |
| $event = new ControllerArgumentsEvent($this, $controller, $arguments, $request, $type); | |
| $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS); | |
| $controller = $event->getController(); | |
| $arguments = $event->getArguments(); | |
| //... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment