function TimestampNormalizerTestDrupalDateTime::setTimezone
Same name in other branches
- 9 core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TimestampNormalizerTestDrupalDateTime::setTimezone()
- 8.9.x core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php \Drupal\Tests\serialization\Unit\Normalizer\TimestampNormalizerTestDrupalDateTime::setTimezone()
- 11.x 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 148
Class
- TimestampNormalizerTestDrupalDateTime
- Provides a test class for testing DrupalDateTime.
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.