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