--- /dev/null
+<?php
+
+abstract class AlloObject {
+
+ public function importFromArray(array $array){
+ foreach(get_object_vars($this) as $attribute => $value){
+ if (isset($array[$attribute])){
+ $this->$attribute = $array[$attribute];
+ }
+ }
+ }
+
+
+}
\ No newline at end of file