ComicList   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 25
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getItems() 0 4 1
A setItems() 0 4 1
1
<?php declare(strict_types = 1);
2
3
namespace ikoene\Marvel\Entity;
4
5
/**
6
 * Class ComicList
7
 * @package ikoene\Marvel\Entity
8
 */
9
class ComicList extends AbstractList
10
{
11
    /**
12
     * The list of returned issues 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