PATH:
home
/
cardxfeb
/
public_html
/
vendor
/
spatie
/
laravel-medialibrary
/
src
/
MediaCollections
/
Exceptions
/
Editing: InvalidUrlGenerator.php
<?php namespace Spatie\MediaLibrary\MediaCollections\Exceptions; use Exception; use Spatie\MediaLibrary\Support\UrlGenerator\UrlGenerator; class InvalidUrlGenerator extends Exception { public static function doesntExist(string $class): self { return new static("Url generator class {$class} doesn't exist"); } public static function doesNotImplementUrlGenerator(string $class): self { $urlGeneratorClass = UrlGenerator::class; return new static("Url generator Class {$class} must implement `{$urlGeneratorClass}`"); } }
SAVE
CANCEL