Time::$requestStack

Same name in other branches
  1. 9 core/lib/Drupal/Component/Datetime/Time.php \Drupal\Component\Datetime\Time::requestStack
  2. 8.9.x core/lib/Drupal/Component/Datetime/Time.php \Drupal\Component\Datetime\Time::requestStack
  3. 11.x core/lib/Drupal/Component/Datetime/Time.php \Drupal\Component\Datetime\Time::requestStack

The request stack.

Type: requestStack

File

core/lib/Drupal/Component/Datetime/Time.php, line 21

Class

Time
Provides a class for obtaining system time.

Namespace

Drupal\Component\Datetime

Code

protected ?RequestStack $requestStack;

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