Imaginary   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 4 1
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
}