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;
    }
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;
    }
@param mixed $value

@return FileEntity|null