initial commit
[namibia] / module / Stock / src / Stock / Fixture / Model.php
1 <?php
2 namespace Stock\Fixture;
3
4
5
6 class Model extends \Fixture\Service\Fixture
7 {
8
9         static public function build()
10         {
11                  parent::addStack('\Stock\Entity\Model', array(
12                                 'Model.Audi.A1'     => array(
13                                                 'make' => self::getReference('Make.Audi'),
14                                                 'name' => 'A1'
15                                 ),
16                                 'Model.Audi.A3'     => array(
17                                                 'make' => self::getReference('Make.Audi'),
18                                                 'name' => 'A3'
19                                 ),
20                                 'Model.Mercedes.A Class'     => array(
21                                                 'make' => self::getReference('Make.Mercedes'),
22                                                 'name' => 'A Class'
23                                 ),
24                                 'Model.Mercedes.Compressor'     => array(
25                                                 'make' => self::getReference('Make.Mercedes'),
26                                                 'name' => 'Compressor'
27                                 ),
28                                 'Model.Ford.Focus'     => array(
29                                                 'make' => self::getReference('Make.Ford'),
30                                                 'name' => 'Focus'
31                                 ),
32                                 'Model.Ford.Fiesta'     => array(
33                                                 'make' => self::getReference('Make.Ford'),
34                                                 'name' => 'Fiesta'
35                                 ),
36                                 'Model.Toyota.Carola'     => array(
37                                                 'make' => self::getReference('Make.Toyota'),
38                                                 'name' => 'Carola'
39                                 ),
40                                 'Model.Toyota.RX 8'     => array(
41                                                 'make' => self::getReference('Make.Toyota'),
42                                                 'name' => 'RX 8'
43                                 )
44                 ));
45         }
46
47 }