ListMaterialResponse   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
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 15
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\Material\UseCase\ListMaterial;
9
10
/**
11
 * Class ListMaterialResponse
12
 *
13
 * @package Domain\Material\UseCase\ListMaterial
14
 */
15
class ListMaterialResponse
16
{
17
    /** @var  ListMaterialItem[] */
18
    public $items;
19
20
    /**
21
     * ListMaterialResponse constructor.
22
     *
23
     * @param ListMaterialItem[] $items
24
     */
25
    public function __construct(array $items)
26
    {
27
        $this->items = $items;
28
    }
29
}