| 1 | <?php |
||
| 11 | class DoctrineMetadataCacheWarmer extends AbstractPhpFileCacheWarmer |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var EntityManagerInterface |
||
| 15 | */ |
||
| 16 | private $entityManager; |
||
| 17 | |||
| 18 | public function __construct(EntityManagerInterface $entityManager, string $phpArrayFile) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $cacheDir |
||
| 27 | * |
||
| 28 | * @return bool false if there is nothing to warm-up |
||
| 29 | */ |
||
| 30 | protected function doWarmUp($cacheDir, ArrayAdapter $arrayAdapter) |
||
| 39 | } |
||
| 40 |