| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 30 | protected function doWarmUp($cacheDir, ArrayAdapter $arrayAdapter) | ||
| 31 |     { | ||
| 32 | $metadataFactory = new ClassMetadataFactory(); | ||
| 33 | $metadataFactory->setEntityManager($this->entityManager); | ||
| 34 | $metadataFactory->setCacheDriver(new DoctrineProvider($arrayAdapter)); | ||
| 35 | $metadataFactory->getAllMetadata(); | ||
| 36 | |||
| 37 | return true; | ||
| 38 | } | ||
| 39 | } | ||
| 40 |