DateTest::$dateFormatterStub

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Datetime/DateTest.php \Drupal\Tests\Core\Datetime\DateTest::dateFormatterStub
  2. 10 core/tests/Drupal/Tests/Core/Datetime/DateTest.php \Drupal\Tests\Core\Datetime\DateTest::dateFormatterStub
  3. 9 core/tests/Drupal/Tests/Core/Datetime/DateTest.php \Drupal\Tests\Core\Datetime\DateTest::dateFormatterStub
  4. 8.9.x core/tests/Drupal/Tests/Core/Datetime/DateTest.php \Drupal\Tests\Core\Datetime\DateTest::dateFormatterStub

The date formatter class where methods can be stubbed.

Type: dateFormatterStub

File

core/tests/Drupal/Tests/Core/Datetime/DateTest.php, line 66

Class

DateTest
Tests Drupal\Core\Datetime\DateFormatter.

Namespace

Drupal\Tests\Core\Datetime

Code

protected DateFormatter&MockObject $dateFormatterStub;

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