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

Revoker   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 8
ccs 0
cts 3
cp 0
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
 * Created on 15/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 Revoker.
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 Revoker extends Facade
26
{
27
    /**
28
     * {@inheritdoc}
29
     */
30
    protected static function getFacadeAccessor()
31
    {
32
        return \Enea\Authorization\Operators\Revoker::class;
33
    }
34
}
35