abstract class BaseDateTimeTransformer implements DataTransformerInterface

Properties

static protected $formats
protected $inputTimezone
protected $outputTimezone

Methods

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

No description

Details

at 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