Path : /var/www/html/jewelry-pos/vendor/spatie/laravel-permission/src/Exceptions/ |
B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H |
Current File : /var/www/html/jewelry-pos/vendor/spatie/laravel-permission/src/Exceptions/GuardDoesNotMatch.php |
<?php namespace Spatie\Permission\Exceptions; use Illuminate\Support\Collection; use InvalidArgumentException; class GuardDoesNotMatch extends InvalidArgumentException { public static function create(string $givenGuard, Collection $expectedGuards) { return new static("The given role or permission should use guard `{$expectedGuards->implode(', ')}` instead of `{$givenGuard}`."); } }