Index::preparePage()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 9
rs 9.9666
c 0
b 0
f 0
cc 1
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