class DateTimeToArrayTransformer extends BaseDateTimeTransformer
Transforms between a normalized time and a localized time string/array.
Methods
__construct(string $inputTimezone = null, string $outputTimezone = null, array $fields = null, bool $pad = false) Constructor.
mixed transform(DateTimeInterface $dateTime) Transforms a normalized date into a localized date.
mixed reverseTransform(mixed $value) Transforms a localized date into a normalized date.
Details