function RequestStack::pop
Pops the current request from the stack.
This operation lets the current request go out of scope.
This method should generally not be called directly as the stack management should be taken care of by the application itself.
2 calls to RequestStack::pop()
- VirtualRequestStack::pop in vendor/
symfony/ http-kernel/ Debug/ VirtualRequestStack.php - Pops the current request from the stack.
- VirtualRequestStack::pop in vendor/
symfony/ http-kernel/ Debug/ VirtualRequestStack.php - Pops the current request from the stack.
1 method overrides RequestStack::pop()
- VirtualRequestStack::pop in vendor/
symfony/ http-kernel/ Debug/ VirtualRequestStack.php - Pops the current request from the stack.
File
-
vendor/
symfony/ http-foundation/ RequestStack.php, line 58
Class
- RequestStack
- Request stack that controls the lifecycle of requests.
Namespace
Symfony\Component\HttpFoundationCode
public function pop() : ?Request {
if (!$this->requests) {
return null;
}
return array_pop($this->requests);
}