App\services\UploadsManager::fileWebpath PHP Метод

fileWebpath() публичный Метод

Return the full web path to a file
public fileWebpath ( $path ) : string
$path
Результат string
    public function fileWebpath($path)
    {
        $path = rtrim(config('custom.uploads.webpath'), '/') . '/' . ltrim($path, '/');
        return url($path);
    }