public static function __set_state($array) { $obj = new Parameter(); $obj->initialize($array); return $obj; }