| Total Complexity | 8 |
| Total Lines | 105 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 6 | class Receiver extends BaseXmlObject |
||
| 7 | { |
||
| 8 | /** @var string */ |
||
| 9 | public $town; |
||
| 10 | /** @var string */ |
||
| 11 | public $address; |
||
| 12 | /** @var string */ |
||
| 13 | public $person; |
||
| 14 | /** @var string */ |
||
| 15 | public $phone; |
||
| 16 | /** @var string */ |
||
| 17 | public $date; |
||
| 18 | /** @var string */ |
||
| 19 | public $time_min; |
||
| 20 | /** @var string */ |
||
| 21 | public $time_max; |
||
| 22 | /** @var string */ |
||
| 23 | public $zipcode; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $town |
||
| 27 | * @return Receiver |
||
| 28 | * @return Receiver |
||
| 29 | */ |
||
| 30 | 2 | public function setTown(string $town) |
|
| 31 | { |
||
| 32 | 2 | $this->town = $town; |
|
| 33 | 2 | return $this; |
|
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @param string $address |
||
| 38 | * @return Receiver |
||
| 39 | * @return Receiver |
||
| 40 | */ |
||
| 41 | 3 | public function setAddress(string $address) |
|
| 42 | { |
||
| 43 | 3 | $this->address = $address; |
|
| 44 | 3 | return $this; |
|
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @param string $person |
||
| 49 | * @return Receiver |
||
| 50 | * @return Receiver |
||
| 51 | */ |
||
| 52 | 3 | public function setPerson(string $person) |
|
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @param string $phone |
||
| 60 | * @return Receiver |
||
| 61 | * @return Receiver |
||
| 62 | */ |
||
| 63 | 2 | public function setPhone(string $phone) |
|
| 67 | } |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @param string $date |
||
| 71 | * @return Receiver |
||
| 72 | * @return Receiver |
||
| 73 | */ |
||
| 74 | 2 | public function setDate(string $date) |
|
| 78 | } |
||
| 79 | |||
| 80 | /** |
||
| 81 | * @param string $time_min |
||
| 82 | * @return Receiver |
||
| 83 | * @return Receiver |
||
| 84 | */ |
||
| 85 | 2 | public function setTimeMin(string $time_min) |
|
| 86 | { |
||
| 87 | 2 | $this->time_min = $time_min; |
|
| 88 | 2 | return $this; |
|
| 89 | } |
||
| 90 | |||
| 91 | /** |
||
| 92 | * @param string $time_max |
||
| 93 | * @return Receiver |
||
| 94 | * @return Receiver |
||
| 95 | */ |
||
| 96 | 2 | public function setTimeMax(string $time_max) |
|
| 97 | { |
||
| 98 | 2 | $this->time_max = $time_max; |
|
| 99 | 2 | return $this; |
|
| 100 | } |
||
| 101 | |||
| 102 | /** |
||
| 103 | * @param string $zipcode |
||
| 104 | * @return Receiver |
||
| 105 | * @return Receiver |
||
| 106 | */ |
||
| 107 | 2 | public function setZipcode(string $zipcode) |
|
| 111 | } |
||
| 112 | } |
||
| 113 |