Git Repository Public Repository

namibia

URLs

Copy to Clipboard
 
df0489e1eeeeab5a9bd44e1d84fce49924fe1bac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
namespace Location\Fixture;



class Region extends \Fixture\Service\Fixture
{

	static public function build()
	{
		parent::addStack('\\Location\\Entity\\Region', array(
				'Region.Gauteng'     => array(
						'country' => self::getReference('Country.ZA'),
						'name'    => 'Gauteng'
				),
				'Region.Natal'     => array(
						'country' => self::getReference('Country.ZA'),
						'name'    => 'Natal'
				),
				'Region.Eastern Cape'     => array(
						'country' => self::getReference('Country.ZA'),
						'name'    => 'Eastern Cape'
				),
				'Region.The South'     => array(
						'country' => self::getReference('Country.AU'),
						'name'    => 'The South'
				),
				'Region.The North'     => array(
						'country' => self::getReference('Country.AU'),
						'name'    => 'The North'
				)
		));
	}

}

Commits for namibiamodule/Location/src/Location/Fixture/Region.php

Diff revisions: vs.
Revision Author Commited Message
df0489 ... Mark Fri 14 Oct, 2016 10:01:00 +0000

initial commit