CreatorList::setItems()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php declare(strict_types = 1);
2
3
namespace ikoene\Marvel\Entity;
4
5
/**
6
 * Class CreatorList
7
 * @package ikoene\Marvel\Entity
8
 */
9
class CreatorList extends AbstractList
10
{
11
    /**
12
     * The list of returned creators in this collection.
13
     *
14
     * @var array
15
     */
16
    private $items;
17
18
    /**
19
     * @return array
20
     */
21
    public function getItems()
22
    {
23
        return $this->items;
24
    }
25
26
    /**
27
     * @param array $items
28
     */
29
    public function setItems(array $items)
30
    {
31
        $this->items = $items;
32
    }
33
}
34