Sindbad~EG File Manager

Current Path : /home/zada/public_html/vendor/spatie/laravel-permission/src/Exceptions/
Upload File :
Current File : /home/zada/public_html/vendor/spatie/laravel-permission/src/Exceptions/RoleDoesNotExist.php

<?php

namespace Spatie\Permission\Exceptions;

use InvalidArgumentException;

class RoleDoesNotExist extends InvalidArgumentException
{
    public static function named(string $roleName)
    {
        return new static("There is no role named `{$roleName}`.");
    }

    public static function withId(int $roleId)
    {
        return new static("There is no role with id `{$roleId}`.");
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists (>^ω^<)看过哭02teddd(>^ω^<)看过哭02teddd