Passed
Push — develop ( 7600ed...503338 )
by Enea
04:04
created

Helper   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

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 authenticated(?string $guard = null)
22
 * @method static \Enea\Authorization\Authorizer authorizer()
23
 *
24
 * @see \Enea\Authorization\Support\Helper
25
 */
26
class Helper extends Facade
27
{
28
    /**
29
     * {@inheritdoc}
30
     */
31 6
    protected static function getFacadeAccessor()
32
    {
33 6
        return 'authorization.helpers';
34
    }
35
}
36