Passed
Push — develop ( 97f65e...d0561f )
by Enea
03:00
created

Granter::getFacadeAccessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 3
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
crap 2
1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * Created on 13/02/18 by enea dhack.
7
 */
8
9
namespace Enea\Authorization\Facades;
10
11
use Enea\Authorization\Contracts\PermissionsOwner;
12
use Enea\Authorization\Contracts\RolesOwner;
13
use Illuminate\Support\Collection;
14
use Illuminate\Support\Facades\Facade;
15
16
/**
17
 * Class Granter.
18
 *
19
 * @package Enea\Authorization\Facades
20
 * @author enea dhack <[email protected]>
21
 *
22
 * @method static void permissions(PermissionsOwner $owner, Collection $permissions)
23
 * @method static void roles(RolesOwner $owner, Collection $roles)
24
 */
25
class Granter extends Facade
26
{
27
    /**
28
     * {@inheritdoc}
29
     */
30
    protected static function getFacadeAccessor()
31
    {
32
        return \Enea\Authorization\Operators\Granter::class;
33
    }
34
}
35