public function imageInfo($fileName)
    {
        if ($fileName instanceof ImageInterface) {
            return $fileName;
        }

        $image = $this->filesystem->getFile('files://' . $fileName, new NullableImage());

        return $image;
    }
public function imageInfo($fileName)
    {
        if ($fileName instanceof ImageInterface) {
            return $fileName;
        }

        $image = $this->filesystem->getFile('files://' . $fileName, new NullableImage());

        return $image;
    }
public function imageInfo ( $ fileName ) { if ( $ fileName instanceof ImageInterface ) { return $ fileName ; } $ image = $ this -> filesystem -> getFile ( 'files://' . $ fileName , new NullableImage ( ) ) ; return $ image ; }
Get an image.

@param string $fileName

@return \Bolt\Filesystem\Handler\ImageInterface
Get an image .