Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
35 | protected function instantiateFixtures(array $fixtures) |
||
36 | { |
||
37 | parent::instantiateFixtures($fixtures); |
||
38 | |||
39 | foreach ($fixtures as $fixture) { |
||
40 | $spec = array_map(function ($property) { |
||
41 | return $property->getValue(); |
||
42 | }, $fixture->getProperties()); |
||
43 | |||
44 | $this->cache[] = [ $spec, $this->objects->get($fixture->getName()) ]; |
||
45 | } |
||
46 | } |
||
47 | } |
||
48 |