Completed
Push — master ( 06707c...0359c5 )
by Marcus
04:05
created

Index   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 12
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A preparePage() 0 9 1
1
<?php
2
3
namespace HaaseIT\HCSF\Controller\Api\Shop\Item;
4
5
6
use HaaseIT\HCSF\CorePage;
7
8
class Index extends Base
9
{
10
    public function preparePage()
11
    {
12
        $headers = [
13
            'Content-type' => 'application/json',
14
        ];
15
16
        $this->P = new CorePage($this->serviceManager, $headers);
17
        $this->P->cb_pagetype = 'itemoverviewjson';
18
    }
19
}
20