ListCategoryResponse   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 17
wmc 1
lcom 0
cbo 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
/**
3
 * (c) Tomasz Kunicki <[email protected]>
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
namespace Domain\Category\UseCase\ListCategory;
9
10
/**
11
 * Class ListCategoryResponse
12
 *
13
 * @package Domain\Category\UseCase\ListCategory
14
 */
15
class ListCategoryResponse
16
{
17
    /**
18
     * @var CategoryListItem[]
19
     */
20
    public $items;
21
22
    /**
23
     * ListCategoryResponse constructor.
24
     *
25
     * @param CategoryListItem[] $items
26
     */
27
    public function __construct(array $items)
28
    {
29
        $this->items = $items;
30
    }
31
}