public static __set_state ( array $data ) : object | ||
$data | array | An array of properties and values with which to re-instantiate the object. These properties can be both public and protected. |
Результат | object | Returns an instance of the requested object with the given properties set. |