/**
  * {@inheritdoc}
  */
 public function reverseTransform($array)
 {
     // when the object is created the form return an array
     // one the object is persisted, the edit $array is the user instance
     if ($array instanceof $this->className) {
         return $array;
     }
     $instance = new $this->className();
     if (!is_array($array)) {
         return $instance;
     }
     return $this->modelManager->modelReverseTransform($this->className, $array);
 }