Transformation   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
dl 0
loc 12
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

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