function RequestStack::getCurrentRequest
2 calls to RequestStack::getCurrentRequest()
- VirtualRequestStack::getCurrentRequest in vendor/
symfony/ http-kernel/ Debug/ VirtualRequestStack.php - VirtualRequestStack::getCurrentRequest in vendor/
symfony/ http-kernel/ Debug/ VirtualRequestStack.php
1 method overrides RequestStack::getCurrentRequest()
- VirtualRequestStack::getCurrentRequest in vendor/
symfony/ http-kernel/ Debug/ VirtualRequestStack.php
File
-
vendor/
symfony/ http-foundation/ RequestStack.php, line 67
Class
- RequestStack
- Request stack that controls the lifecycle of requests.
Namespace
Symfony\Component\HttpFoundationCode
public function getCurrentRequest() : ?Request {
return end($this->requests) ?: null;
}