public static function __set_state($data) { $obj = new static(); $obj->setValues($data); return $obj; }