DateTimeToArrayTransformer
class DateTimeToArrayTransformer extends BaseDateTimeTransformer
Transforms between a normalized time and a localized time string/array.
Properties
static protected | $formats | from BaseDateTimeTransformer | |
protected | $inputTimezone | from BaseDateTimeTransformer | |
protected | $outputTimezone | from BaseDateTimeTransformer |
Methods
__construct(string $inputTimezone = null, string $outputTimezone = null, array $fields = null, bool $pad = false)
No description
mixed
mixed
reverseTransform(mixed $value)
Transforms a localized date into a normalized date.