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

Index::preparePage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
c 0
b 0
f 0
rs 9.6666
cc 1
eloc 5
nc 1
nop 0
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