DrupalKernelRequestStackTest::$recordedRequests

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php \Drupal\KernelTests\Core\DrupalKernel\DrupalKernelRequestStackTest::recordedRequests

The request stack requests when the kernel request event is fired.

Type: array{'main': \Symfony\Component\HttpFoundation\Request, 'parent': \Symfony\Component\HttpFoundation\Request, 'current': \Symfony\Component\HttpFoundation\Request}|null

File

core/tests/Drupal/KernelTests/Core/DrupalKernel/DrupalKernelRequestStackTest.php, line 34

Class

DrupalKernelRequestStackTest
Tests the usage of the request stack as part of request processing.

Namespace

Drupal\KernelTests\Core\DrupalKernel

Code

protected ?array $recordedRequests;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.