public function RequestStack::getCurrentRequest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/RequestStack.php \Symfony\Component\HttpFoundation\RequestStack::getCurrentRequest()
Return value
Request|null
File
- vendor/
symfony/ http-foundation/ RequestStack.php, line 59
Class
- RequestStack
- Request stack that controls the lifecycle of requests.
Namespace
Symfony\Component\HttpFoundationCode
public function getCurrentRequest() {
return end($this->requests) ?: null;
}