CallbackRegistrar   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 10
ccs 0
cts 2
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
namespace LaraCrafts\GeoRoutes\Support\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
7
/**
8
 * @method static void addCallback(string $name, callable $callback)
9
 * @method static void loadCallbacks(array $callbacks)
10
 * @method static array|null callbacks(array $callbacks = null)
11
 * @method static void parseCallbacks(string $class)
12
 * @method static mixed callback(string $name, callable $callable = null)
13
 * @method static boolean hasCallback(string $name)
14
 * @method static boolean hasProxy(string $proxy)
15
 *
16
 * @see \LaraCrafts\GeoRoutes\CallbackRegistrar
17
 */
18
class CallbackRegistrar extends Facade
19
{
20
    /**
21
     * Get the registered name of the component.
22
     *
23
     * @return string
24
     */
25
    protected static function getFacadeAccessor()
26
    {
27
        return 'georoutes.callbacks';
28
    }
29
}
30