foreach ($_array as $v){
$this->append(Util::ArrayToClass($object,$v));
}
public function __construct($_array,$object){
if(is_array($_array) && count($_array)>0) {
$_tmp=array();
foreach ($_array as $v){
$_tmp[]=serialize(Util::ArrayToClass($object,$v));
}
//Ugly hack because looks like PHP 7.x have a bug w alreasy assigned values
foreach($_tmp as $item){
$this->append(unserialize($item));
}
}
}