DateTest::$dateFormatterStub

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

The date formatter class where methods can be stubbed.

Type: \Drupal\Core\Datetime\DateFormatter|\PHPUnit\Framework\MockObject\MockObject

File

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

Class

DateTest
@coversDefaultClass \Drupal\Core\Datetime\DateFormatter @group Datetime

Namespace

Drupal\Tests\Core\Datetime

Code

protected $dateFormatterStub;

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