UpsertResultResponse   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 44
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getCount() 0 4 1
A setCount() 0 4 1
A getOrders() 0 4 1
A setOrders() 0 4 1
1
<?php
2
3
namespace PimpayBundle\Model;
4
5
class UpsertResultResponse
6
{
7
    /**
8
     * @var integer
9
     */
10
    private $count;
11
12
    /**
13
     * @var UpsertResultItem[]
14
     */
15
    private $orders;
16
17
    /**
18
     * @return int
19
     */
20
    public function getCount(): int
21
    {
22
        return $this->count;
23
    }
24
25
    /**
26
     * @param int $count
27
     */
28
    public function setCount(int $count)
29
    {
30
        $this->count = $count;
31
    }
32
33
    /**
34
     * @return UpsertResultItem[]
35
     */
36
    public function getOrders(): array
37
    {
38
        return $this->orders;
39
    }
40
41
    /**
42
     * @param UpsertResultItem[] $orders
43
     */
44
    public function setOrders(array $orders)
45
    {
46
        $this->orders = $orders;
47
    }
48
}
49