Config   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 5
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
namespace Helldar\Roles\Facades;
4
5
use Helldar\Roles\Support\Config as ConfigSupport;
6
use Illuminate\Support\Facades\Facade;
7
8
/**
9
 * @method static mixed get($key, $default = null)
10
 * @method static void set($key, $value)
11
 * @method static string name()
12
 * @method static string connection()
13
 * @method static bool useBlade()
14
 * @method static bool useCanDirective()
15
 * @method static bool useCache()
16
 * @method static int cacheTtl()
17
 * @method static string filename()
18
 * @method static string|null defaultRole()
19
 */
20
class Config extends Facade
21
{
22
    protected static function getFacadeAccessor()
23
    {
24
        return ConfigSupport::class;
25
    }
26
}
27