InventoryPresenter   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 1
dl 0
loc 10
rs 10
ccs 0
cts 4
cp 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getTransformer() 0 4 1
1
<?php
2
3
namespace Scool\Inventory\Presenters;
4
5
use Prettus\Repository\Presenter\FractalPresenter;
6
7
/**
8
 * Class AssesmentPresenter.
9
 */
10
class InventoryPresenter extends FractalPresenter
11
{
12
    /**
13
     * Transformer.
14
     */
15
    public function getTransformer()
16
    {
17
        return new InventoryTransformer();
18
    }
19
}
20