code: public function hydrate($value)
      {
          if (!UPLOAD_ERR_OK == $value['error']) {
              return null;
          }
          
          $file = $this->getFileEntity();
          
          $file->setName($value['name'])
               ->setType($value['type'])
               ->setFile($value['tmp_name']);
          
          return $file;
      }
docs: @param mixed $value
  
  @return FileEntity|null