Esempio n. 1
0
 /**
  * Get model from array
  *
  * @param array $array Data
  *
  * @return \Gc\DocumentType\Model
  */
 public static function fromArray(array $array)
 {
     $documentTypeTable = new Model();
     $documentTypeTable->setData($array);
     $documentTypeTable->setOrigData();
     return $documentTypeTable;
 }