1 | <?php |
||
23 | class CommunesResponse extends AbstractResponse { |
||
24 | |||
25 | /** |
||
26 | * Communes. |
||
27 | * |
||
28 | * @var Commune[] |
||
29 | */ |
||
30 | private $communes; |
||
31 | |||
32 | /** |
||
33 | * Constructor. |
||
34 | */ |
||
35 | public function __construct() { |
||
38 | |||
39 | /** |
||
40 | * Add a commune. |
||
41 | * |
||
42 | * @param Commune $commune The commune. |
||
43 | * @return CommunesResponse Returns this communes response. |
||
44 | */ |
||
45 | public function addCommune(Commune $commune) { |
||
49 | |||
50 | /** |
||
51 | * Get the communes. |
||
52 | * |
||
53 | * @return Commune[] Returns the communes. |
||
54 | */ |
||
55 | public function getCommunes() { |
||
58 | |||
59 | /** |
||
60 | * Set the communes. |
||
61 | * |
||
62 | * @param Commune[] $communes The communes. |
||
63 | * @return CommunesResponse Returns this communes response. |
||
64 | */ |
||
65 | protected function setCommunes(array $communes) { |
||
69 | } |