GoLang DateTime::__set_state

request it (112)
GoLang replacement for PHP's DateTime::__set_state [edit | history]



Do you know a GoLang replacement for PHP's DateTime::__set_state? Write it!

PHP DateTime::__set_state

PHP original manual for DateTime::__set_state [ show | php.net ]

DateTime::__set_state

(PHP 5 >= 5.3.0, PHP 7)

DateTime::__set_stateThe __set_state handler

Description

public static DateTime DateTime::__set_state ( array $array )

The __set_state() handler.

Parameters

array

Initialization array.

Return Values

Returns a new instance of a DateTime object.