Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 66.67% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class FindOfficeResponse |
||
22 | { |
||
23 | /** |
||
24 | * @Serializer\Type("ArrayCollection<VasilDakov\Speedy\Model\Office>") |
||
25 | */ |
||
26 | public ArrayCollection $offices; |
||
27 | 1 | ||
28 | public function __construct() |
||
29 | 1 | { |
|
30 | $this->offices = new ArrayCollection(); |
||
31 | } |
||
32 | 1 | ||
33 | public function getOffices(?string $type = null): ArrayCollection |
||
41 | }); |
||
42 | } |
||
43 | |||
44 | public function setOffices(ArrayCollection $offices): void |
||
49 |