protected function getUploadedImage()
    {
        if ($this->getMappingResultsForProperty()->hasErrors()) {
            return null;
        }
        $image = $this->getPropertyValue();
        if ($image instanceof Image) {
            return $image;
        }
        return $this->propertyMapper->convert($this->getValueAttribute(), Image::class);
    }
protected function getUploadedImage()
    {
        if ($this->getMappingResultsForProperty()->hasErrors()) {
            return null;
        }
        $image = $this->getPropertyValue();
        if ($image instanceof Image) {
            return $image;
        }
        return $this->propertyMapper->convert($this->getValueAttribute(), Image::class);
    }
protected function getUploadedImage ( ) { if ( $ this -> getMappingResultsForProperty ( ) -> hasErrors ( ) ) { return null ; } $ image = $ this -> getPropertyValue ( ) ; if ( $ image instanceof Image ) { return $ image ; } return $ this -> propertyMapper -> convert ( $ this -> getValueAttribute ( ) , Image :: class ) ; }
Returns a previously uploaded image.
If errors occurred during property mapping for this property, NULL is returned

@return Image
Returns a previously uploaded image . If errors occurred during property mapping for this property NULL is returned