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

ApiResponse::getFacadeAccessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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
}