protected function image(): Image
{ if ($this->verified
) { return $this->image;
} // Verify withFile has been called
if (empty($this->image
)) { throw ImageException::
forMissingImage();
} // Verify the loaded image is an Image instance
if (!
$this->image instanceof Image
) { throw ImageException::
forInvalidPath();
} // File::__construct has verified the file exists - make sure it is an image
if (!
is_int($this->image->imageType
)) { throw ImageException::
forFileNotSupported();
}