Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RequestStack.php

function RequestStack::push

Pushes a Request on the stack.

This method should generally not be called directly as the stack management should be taken care of by the application itself.

3 calls to RequestStack::push()
RequestStack::__construct in vendor/symfony/http-foundation/RequestStack.php
VirtualRequestStack::push in vendor/symfony/http-kernel/Debug/VirtualRequestStack.php
Pushes a Request on the stack.
VirtualRequestStack::push in vendor/symfony/http-kernel/Debug/VirtualRequestStack.php
Pushes a Request on the stack.
1 method overrides RequestStack::push()
VirtualRequestStack::push in vendor/symfony/http-kernel/Debug/VirtualRequestStack.php
Pushes a Request on the stack.

File

vendor/symfony/http-foundation/RequestStack.php, line 45

Class

RequestStack
Request stack that controls the lifecycle of requests.

Namespace

Symfony\Component\HttpFoundation

Code

public function push(Request $request) : void {
    $this->requests[] = $request;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal