| Conditions | 4 | 
| Paths | 4 | 
| Total Lines | 21 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 25 | public function getCache()  | 
            ||
| 26 |     { | 
            ||
| 27 | $fixtureSet = $this->dataLoader->getLastFixtureSet();  | 
            ||
| 28 |         if (null === $fixtureSet) { | 
            ||
| 29 | return array();  | 
            ||
| 30 | }  | 
            ||
| 31 | |||
| 32 | $cache = array();  | 
            ||
| 33 | $fixtures = $fixtureSet->getFixtures();  | 
            ||
| 34 |         foreach ($fixtures as $fixture) { | 
            ||
| 35 | $spec = array();  | 
            ||
| 36 | |||
| 37 | $properties = $fixture->getSpecs()->getProperties();  | 
            ||
| 38 |             foreach ($properties->getIterator() as $property) { | 
            ||
| 39 | $spec[] = $property->getValue();  | 
            ||
| 40 | }  | 
            ||
| 41 | |||
| 42 | $cache[] = [$spec, $this->fixtureData[$fixture->getId()]];  | 
            ||
| 43 | }  | 
            ||
| 44 | |||
| 45 | return $cache;  | 
            ||
| 46 | }  | 
            ||
| 69 |