Created
May 3, 2020 17:24
-
-
Save anvodev/e794fd311c645e4c28cc73e308aa859e to your computer and use it in GitHub Desktop.
Request 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 | |
| //... | |
| $this->requestStack->push($request); | |
| // request | |
| $event = new RequestEvent($this, $request, $type); | |
| $this->dispatcher->dispatch($event, KernelEvents::REQUEST); | |
| if ($event->hasResponse()) { | |
| return $this->filterResponse($event->getResponse(), $request, $type); | |
| } | |
| //... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment