src/UrlGenerators/LocalUrlGenerator.php
private function getPrefix()
    {
        $prefix = $this->getDiskConfig('prefix', '');
        $url = $this->getDiskConfig('url');

        if (! $prefix && ! $url) {
            return 'storage';
        }

        return $prefix;
    }
private function getPrefix()
    {
        $prefix = $this->getDiskConfig('prefix', '');
        $url = $this->getDiskConfig('url');

        if (! $prefix && ! $url) {
            return 'storage';
        }

        return $prefix;
    }
private function getPrefix ( ) { $ prefix = $ this -> getDiskConfig ( 'prefix' , '' ) ; $ url = $ this -> getDiskConfig ( 'url' ) ; if ( ! $ prefix && ! $ url ) { return 'storage' ; } return $ prefix ; }
Get the prefix.

If the prefix and the url are not set, we will assume the prefix
is "storage", in order to point to the default symbolink link.

Otherwise, we will trust the user has correctly set the prefix and/or the url.

@return string
Get the prefix .