BookStack\Services\ImageService::getPath PHP Method

getPath() protected method

Get the storage path, Dependant of storage type.
protected getPath ( Image $image ) : mixed | string
$image BookStack\Image
return mixed | string
    protected function getPath(Image $image)
    {
        return $this->isLocal() ? 'public/' . $image->path : $image->path;
    }