Imaginary::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace ArjanWestdorp\Imaginary\Laravel;
4
5
use ArjanWestdorp\Imaginary\Client;
6
use Illuminate\Support\Facades\Facade;
7
8
/**
9
 * Class Imaginary
10
 * @package ArjanWestdorp\Imaginary\Laravel
11
 * @method static Client fetch(string $url)
12
 * @method static Client define(string $key, \Closure $callback)
13
 */
14
class Imaginary extends Facade
15
{
16
    /**
17
     * Get the facade accessor.
18
     *
19
     * @return string
20
     */
21 3
    public static function getFacadeAccessor()
22
    {
23 3
        return 'imaginary.client';
24
    }
25
}