UpsertResultResponse::setCount()   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
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