1 | <?php |
||
25 | class Commune { |
||
26 | |||
27 | use FloatScoreTrait; |
||
28 | use StringCodeRegionTrait; |
||
29 | use StringCodeTrait; |
||
30 | use StringNomTrait; |
||
31 | |||
32 | /** |
||
33 | * Population. |
||
34 | * |
||
35 | * @var int |
||
36 | */ |
||
37 | private $population; |
||
38 | |||
39 | /** |
||
40 | * Constructor. |
||
41 | */ |
||
42 | public function __construct() { |
||
45 | |||
46 | /** |
||
47 | * Get the population. |
||
48 | * |
||
49 | * @return int Returns the population. |
||
50 | */ |
||
51 | public function getPopulation() { |
||
54 | |||
55 | /** |
||
56 | * Set the population. |
||
57 | * |
||
58 | * @param int $population The population. |
||
59 | * @return Commune Returns this commune. |
||
60 | */ |
||
61 | public function setPopulation($population) { |
||
65 | } |