Completed
Push — master ( c915d2...2ad4b2 )
by Alexander
04:32
created

ApiResponse   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
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 Flugg\Responder\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
use Flugg\Responder\Contracts\Responder;
7
8
/**
9
 * A optional facade you can register to create API responses.
10
 *
11
 * @package Laravel Responder
12
 * @author  Alexander Tømmerås <[email protected]>
13
 * @license The MIT License
14
 */
15
class ApiResponse extends Facade
16
{
17
    /**
18
     * Get the registered name of the component.
19
     *
20
     * @return string
21
     */
22
    protected static function getFacadeAccessor()
23
    {
24
        return Responder::class;
25
    }
26
}