DateTime::__wakeup

DateTimeImmutable::__wakeup

DateTimeInterface::__wakeup

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

DateTime::__wakeup -- DateTimeImmutable::__wakeup -- DateTimeInterface::__wakeupThe __wakeup handler

说明

public DateTime::__wakeup ( ) : void
public DateTimeImmutable::__wakeup ( ) : void
public DateTimeInterface::__wakeup ( ) : void

The __wakeup() handler.

参数

此函数没有参数。

返回值

Initializes a DateTime object.