DateTimeToStringTransformer
DateTimeToStringTransformer
class DateTimeToStringTransformer extends BaseDateTimeTransformer
Transforms between a date string and a DateTime object.
Methods
__construct(string $inputTimezone = null, string $outputTimezone = null, string $format = 'Y-m-d H:i:s') Transforms a \DateTime instance to a string. | ||
mixed | transform(DateTimeInterface $dateTime) Transfor |