GetContextResponse::getCustomers()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/*
4
 * This file is part of PHP CS Fixer.
5
 *
6
 * (c) Fabien Potencier <[email protected]>
7
 *     Dariusz Rumiński <[email protected]>
8
 *
9
 * This source file is subject to the MIT license that is bundled
10
 * with this source code in the file LICENSE.
11
 */
12
13
namespace Etrias\EwarehousingConnector\Response;
14
15
use Etrias\EwarehousingConnector\Types\Customer;
16
17
class GetContextResponse
18
{
19
    /**
20
     * @var string
21
     */
22
    protected $context;
23
24
    /** @var Customer[] */
25
    protected $customers = [];
26
27
    /** @var string */
28
    protected $type;
29
30
    /**
31
     * @return string
32
     */
33
    public function getContext()
34
    {
35
        return $this->context;
36
    }
37
38
    /**
39
     * @param string $context
40
     *
41
     * @return GetContextResponse
42
     */
43
    public function setContext($context)
44
    {
45
        $this->context = $context;
46
47
        return $this;
48
    }
49
50
    /**
51
     * @return Customer[]
52
     */
53
    public function getCustomers()
54
    {
55
        return $this->customers;
56
    }
57
58
    /**
59
     * @param Customer[] $customers
60
     *
61
     * @return GetContextResponse
62
     */
63
    public function setCustomers($customers)
64
    {
65
        $this->customers = $customers;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @return string
72
     */
73
    public function getType()
74
    {
75
        return $this->type;
76
    }
77
78
    /**
79
     * @param string $type
80
     *
81
     * @return GetContextResponse
82
     */
83
    public function setType($type)
84
    {
85
        $this->type = $type;
86
87
        return $this;
88
    }
89
}
90