Transformation::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 Flugg\Responder\Facades;
4
5
use Flugg\Responder\Transformation as TransformationService;
6
use Illuminate\Support\Facades\Facade;
7
8
/**
9
 * A facade class responsible for giving easy access to the transformer service.
10
 *
11
 * @package flugger/laravel-responder
12
 * @author  Alexander Tømmerås <[email protected]>
13
 * @license The MIT License
14
 *
15
 * @see \Flugg\Responder\Transformer
16
 */
17
class Transformation extends Facade
18
{
19
    /**
20
     * Get the registered name of the component.
21
     *
22
     * @return string
23
     */
24 1
    protected static function getFacadeAccessor()
25
    {
26 1
        return TransformationService::class;
27
    }
28
}