Throttle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * This file is part of Laravel Throttle.
7
 *
8
 * (c) Graham Campbell <[email protected]>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace GrahamCampbell\Throttle\Facades;
15
16
use Illuminate\Support\Facades\Facade;
17
18
/**
19
 * This is the throttle facade class.
20
 *
21
 * @author Graham Campbell <[email protected]>
22
 */
23
class Throttle extends Facade
24
{
25
    /**
26
     * Get the registered name of the component.
27
     *
28
     * @return string
29
     */
30 24
    protected static function getFacadeAccessor()
31
    {
32 24
        return 'throttle';
33
    }
34
}
35