function DateTimeNormalizerTestDrupalDateTime::setTimezone
Same name in other branches
- 9 core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\DateTimeNormalizerTestDrupalDateTime::setTimezone()
- 10 core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\DateTimeNormalizerTestDrupalDateTime::setTimezone()
- 11.x core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\DateTimeNormalizerTestDrupalDateTime::setTimezone()
File
-
core/
modules/ serialization/ tests/ src/ Unit/ Normalizer/ DateTimeNormalizerTest.php, line 189
Class
- DateTimeNormalizerTestDrupalDateTime
- 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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.