DateTest::$dateFormatter

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

The mocked date formatter class.

Type: \Drupal\Core\Datetime\DateFormatter

File

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

Class

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

Namespace

Drupal\Tests\Core\Datetime

Code

protected $dateFormatter;

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