X

Create New Item

File Folder

X

Search Results

File "WildcardPermissionNotProperlyFormatted.php"

Full path: /home/orbitecv/orbite-school.orbit.et/vendor/spatie/laravel-permission/src/Exceptions/WildcardPermissionNotProperlyFormatted.php
File size: 376 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

namespace Spatie\Permission\Exceptions;

use InvalidArgumentException;

class WildcardPermissionNotProperlyFormatted extends InvalidArgumentException
{
    public static function create(string $permission)
    {
        return new static(__('Wildcard permission `:permission` is not properly formatted.', [
            'permission' => $permission,
        ]));
    }
}