Passed
Push — develop ( 9557ee...e4ecab )
by Enea
04:24
created

Denier   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 Enea\Authorization\Contracts\PermissionsOwner;
15
use Illuminate\Support\Collection;
16
use Illuminate\Support\Facades\Facade;
17
18
/**
19
 * Class Denier.
20
 *
21
 * @package Enea\Authorization\Facades
22
 * @method static void permissions(PermissionsOwner $owner, Collection $permissions)
23
 */
24
class Denier extends Facade
25
{
26
    /**
27
     * {@inheritdoc}
28
     */
29 9
    protected static function getFacadeAccessor()
30
    {
31 9
        return \Enea\Authorization\Operators\Denier::class;
32
    }
33
}
34