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', bool $parseUsingPipe = true) Transforms a \DateTime instance to a string.
mixed transform(DateTimeInterface $dateTime) Transforms a DateTime object into a date string with the configured format and timezone.
mixed reverseTransform(mixed $value) Tr