PATH:
home
/
cardxfeb
/
public_html
/
vendor
/
spatie
/
laravel-permission
/
src
/
Exceptions
/
Editing: RoleAlreadyExists.php
<?php namespace Spatie\Permission\Exceptions; use InvalidArgumentException; class RoleAlreadyExists extends InvalidArgumentException { public static function create(string $roleName, string $guardName) { return new static("A role `{$roleName}` already exists for guard `{$guardName}`."); } }
SAVE
CANCEL