public function DateTimeIso8601NormalizerTestDrupalDateTime::setTimezone in Drupal 9
Same name and namespace in other branches
- 8 core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\DateTimeIso8601NormalizerTestDrupalDateTime::setTimezone()
- 10 core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\DateTimeIso8601NormalizerTestDrupalDateTime::setTimezone()
File
- core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ DateTimeIso8601NormalizerTest.php, line 267
Class
- DateTimeIso8601NormalizerTestDrupalDateTime
- Note: Prophecy does not support magic methods. By subclassing and specifying an explicit method, Prophecy works.
Namespace
Drupal\Tests\serialization\Unit\NormalizerCode
public function setTimezone(\DateTimeZone $timezone) {
parent::setTimezone($timezone);
}