CallbackRegistrar::getFacadeAccessor()   A
last analyzed

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
eloc 1
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
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