Authenticated::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 0
crap 1
1
<?php
2
/**
3
 * Created by enea dhack - 18/04/2018 11:54.
4
 */
5
6
declare(strict_types=1);
7
8
/**
9
 * @author enea dhack <[email protected]>
10
 *
11
 * For the full copyright and license information, please view the LICENSE
12
 * file that was distributed with this source code.
13
 */
14
15
namespace Enea\Authorization\Facades;
16
17
use Illuminate\Support\Facades\Facade;
18
19
/**
20
 * Class Authenticated.
21
 *
22
 * @package Enea\Authorization\Facades
23
 * @method static void can(string... $permissions)
24
 * @method static void is(string... $roles)
25
 */
0 ignored issues
show
Documentation Bug introduced by
The doc comment string... at position 0 could not be parsed: Unknown type name 'string...' at position 0 in string....
Loading history...
26
class Authenticated extends Facade
27
{
28
    /**
29
     * {@inheritdoc}
30
     */
31 14
    protected static function getFacadeAccessor()
32
    {
33 14
        return \Enea\Authorization\Support\Authenticated::class;
34
    }
35
}
36