Helper   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 2
c 1
b 0
f 1
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * @author enea dhack <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Enea\Authorization\Facades;
13
14
use Illuminate\Support\Facades\Facade;
15
16
/**
17
 * Class Helpers.
18
 *
19
 * @package Enea\Authorization\Facades
20
 *
21
 * @method static \Enea\Authorization\Contracts\Authorizable|\Illuminate\Database\Eloquent\Model authenticated(?string $guard = null)
22
 * @method static \Enea\Authorization\Authorizer authorizer()
23
 * @method static \Illuminate\Support\Collection except(\Illuminate\Support\Collection $grantableCollection, array $exceptNames)
24
 *
25
 * @see \Enea\Authorization\Support\Helper
26
 */
27
class Helper extends Facade
28
{
29
    /**
30
     * {@inheritdoc}
31
     */
32 53
    protected static function getFacadeAccessor()
33
    {
34 53
        return 'authorization.helpers';
35
    }
36
}
37