1 | <?php |
||
9 | class Region |
||
10 | { |
||
11 | private $departements; |
||
12 | private $name; |
||
13 | private $code; |
||
14 | |||
15 | public function __construct() { |
||
18 | |||
19 | public function addDepartement(Departement $departement) { |
||
23 | |||
24 | public function getDepartements() |
||
28 | |||
29 | public function setDepartements(MapInterface $departements) |
||
34 | |||
35 | public function getName() |
||
39 | |||
40 | public function setName($name) |
||
45 | |||
46 | public function getCode() |
||
50 | |||
51 | public function setCode($code) |
||
56 | |||
57 | public function __toString() |
||
61 | } |
||
62 | |||
63 |