public function getImageStorage($image)
    {
        if (@file_exists('file://' . $image)) {
            return DriverInterface::IMAGE_STORAGE_FILE;
        } elseif (false === strpos($image, '://')) {
            return DriverInterface::IMAGE_STORAGE_STRING;
        } else {
            return DriverInterface::IMAGE_STORAGE_URL;
        }
    }
public function getImageStorage($image)
    {
        if (@file_exists('file://' . $image)) {
            return DriverInterface::IMAGE_STORAGE_FILE;
        } elseif (false === strpos($image, '://')) {
            return DriverInterface::IMAGE_STORAGE_STRING;
        } else {
            return DriverInterface::IMAGE_STORAGE_URL;
        }
    }
public function getImageStorage ( $ image ) { if ( @ file_exists ( 'file://' . $ image ) ) { return DriverInterface :: IMAGE_STORAGE_FILE ; } elseif ( false === strpos ( $ image , '://' ) ) { return DriverInterface :: IMAGE_STORAGE_STRING ; } else { return DriverInterface :: IMAGE_STORAGE_URL ; } }
Get storage type of image

@param string $image
@return string
Get storage type of image