class BaseDateTimeTransformer implements DataTransformerInterface

Methods

__construct(string $inputTimezone = null, string $outputTimezone = null)

No description

Details

at line line 37
__construct(string $inputTimezone = null, string $outputTimezone = null)

Parameters

string $inputTimezone The name of the input timezone
string $outputTimezone The name of the output timezone

Exceptions

InvalidArgumentException if a timezone is not valid