File "InvalidOption.php"
Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/spatie/laravel-sluggable/src/Exceptions/InvalidOption.php
File size: 556 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Spatie\Sluggable\Exceptions;
use Exception;
class InvalidOption extends Exception
{
public static function missingFromField(): static
{
return new static('Could not determine which fields should be sluggified');
}
public static function missingSlugField(): static
{
return new static('Could not determine in which field the slug should be saved');
}
public static function invalidMaximumLength(): static
{
return new static('Maximum length should be greater than zero');
}
}