You are here

public function TimestampNormalizerTestDrupalDateTime::setTimezone in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TimestampNormalizerTestDrupalDateTime::setTimezone()
  2. 10 core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TimestampNormalizerTestDrupalDateTime::setTimezone()

File

core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php, line 144

Class

TimestampNormalizerTestDrupalDateTime
Note: Prophecy does not support magic methods. By subclassing and specifying an explicit method, Prophecy works.

Namespace

Drupal\Tests\serialization\Unit\Normalizer

Code

public function setTimezone(\DateTimeZone $timezone) {
  parent::setTimezone($timezone);
}