abstract class BaseDateTimeTransformer implements DataTransformerInterface
static protected | $formats | ||
protected | $inputTimezone | ||
protected | $outputTimezone |
__construct(string $inputTimezone = null, string $outputTimezone = null) |
string | $inputTimezone | The name of the input timezone |
string | $outputTimezone | The name of the output timezone |
InvalidArgumentException | if a timezone is not valid |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Form/Extension/Core/DataTransformer/BaseDateTimeTransformer.html