D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
3023067
/
cwd
/
www
/
vendor
/
spatie
/
laravel-permission
/
src
/
Exceptions
/
Filename :
PermissionAlreadyExists.php
back
Copy
<?php namespace Spatie\Permission\Exceptions; use InvalidArgumentException; class PermissionAlreadyExists extends InvalidArgumentException { public static function create(string $permissionName, string $guardName) { return new static("A `{$permissionName}` permission already exists for guard `{$guardName}`."); } }