DateTimeToArrayTransformer
DateTimeToArrayTransformer
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 norm |