BaseDateTimeTransformer

BaseDateTimeTransformer

class BaseDateTimeTransformer implements DataTransformerInterface

Methods

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

Constructor.

Details

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

Constructor.

Parameters

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

Exceptions

UnexpectedTypeException if a timezone is not a string
InvalidArgumentException if a timezone is not valid
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部