1 | <?php |
||
26 | class Commune { |
||
27 | |||
28 | use FloatScoreTrait; |
||
29 | use StringCodeDepartementTrait; |
||
30 | use StringCodeRegionTrait; |
||
31 | use StringCodeTrait; |
||
32 | use StringNomTrait; |
||
33 | |||
34 | |||
35 | /** |
||
36 | * Codes postaux. |
||
37 | * |
||
38 | * @var string[] |
||
39 | */ |
||
40 | private $codesPostaux; |
||
41 | |||
42 | /** |
||
43 | * Population. |
||
44 | * |
||
45 | * @var int |
||
46 | */ |
||
47 | private $population; |
||
48 | |||
49 | /** |
||
50 | * Constructor. |
||
51 | */ |
||
52 | public function __construct() { |
||
55 | |||
56 | |||
57 | /** |
||
58 | * Get the codes postaux. |
||
59 | * |
||
60 | * @return string[] Returns the codes postaux. |
||
61 | */ |
||
62 | public function getCodesPostaux() { |
||
65 | |||
66 | /** |
||
67 | * Get the population. |
||
68 | * |
||
69 | * @return int Returns the population. |
||
70 | */ |
||
71 | public function getPopulation() { |
||
74 | |||
75 | /** |
||
76 | * Set the codes postaux. |
||
77 | * |
||
78 | * @param string[] $codesPostaux The codes postaux. |
||
79 | * @return Commune Returns this commune. |
||
80 | */ |
||
81 | public function setCodesPostaux($codesPostaux) { |
||
85 | |||
86 | /** |
||
87 | * Set the population. |
||
88 | * |
||
89 | * @param int $population The population. |
||
90 | * @return Commune Returns this commune. |
||
91 | */ |
||
92 | public function setPopulation($population) { |
||
96 | } |