latest updates, towns and regions
[namibia] / module / Location / src / Location / Fixture / Town.php
1 <?php
2 namespace Location\Fixture;
3
4
5
6 class Town extends \Fixture\Service\Fixture
7 {
8
9         static public function build()
10         {
11                 parent::addStack('\\Location\\Entity\\Town', array(
12                                 'Town.Windhoek' => array(
13                                                 'region' => self::getReference('Region.Khomas'),
14                                                 'name'   => 'Windhoek'
15                                 ),
16                                 'Town.Walvis Bay' => array(
17                                                 'region' => self::getReference('Region.Erongo'),
18                                                 'name'   => 'Walvis Bay'
19                                 ),
20                                 'Town.Swakopmund' => array(
21                                                 'region' => self::getReference('Region.Erongo'),
22                                                 'name'   => 'Swakopmund'
23                                 ),
24                                 'Town.Henties Bay' => array(
25                                                 'region' => self::getReference('Region.Erongo'),
26                                                 'name'   => 'Henties Bay'
27                                 ),
28                                 'Town.Omaruru' => array(
29                                                 'region' => self::getReference('Region.Erongo'),
30                                                 'name'   => 'Omaruru'
31                                 ),
32                                 'Town.Otjiwarongo' => array(
33                                                 'region' => self::getReference('Region.Otjozondjupa'),
34                                                 'name'   => 'Otjiwarongo'
35                                 ),
36                                 'Town.Okahandja' => array(
37                                                 'region' => self::getReference('Region.Otjozondjupa'),
38                                                 'name'   => 'Okahandja'
39                                 ),
40                                 'Town.Grootfontein' => array(
41                                                 'region' => self::getReference('Region.Otjozondjupa'),
42                                                 'name'   => 'Grootfontein'
43                                 ),
44                                 'Town.Mariental' => array(
45                                                 'region' => self::getReference('Region.Hardap'),
46                                                 'name'   => 'Mariental'
47                                 ),
48                                 'Town.Outjo' => array(
49                                                 'region' => self::getReference('Region.Kunene'),
50                                                 'name'   => 'Outjo'
51                                 ),
52                                 'Town.Gobabis' => array(
53                                                 'region' => self::getReference('Region.Omaheke'),
54                                                 'name'   => 'Gobabis'
55                                 ),
56                                 'Town.Tsumeb' => array(
57                                                 'region' => self::getReference('Region.Oshikoto'),
58                                                 'name'   => 'Tsumeb'
59                                 ),
60                                 'Town.Keetmanshoop' => array(
61                                                 'region' => self::getReference('Region.Karas'),
62                                                 'name'   => 'Keetmanshoop'
63                                 ),
64                 ));
65         }
66
67 }