| 1 | <?php |
||
| 15 | class ClassMetadataPropertiesCacheWarmer implements CacheWarmerInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var ModelConfigurationDriverInterface |
||
| 19 | */ |
||
| 20 | private $driver; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var Filesystem |
||
| 24 | */ |
||
| 25 | private $filesystem; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Constructor. |
||
| 29 | * |
||
| 30 | * @param ModelConfigurationDriverInterface $driver |
||
| 31 | * @param Filesystem $filesystem |
||
| 32 | */ |
||
| 33 | public function __construct(ModelConfigurationDriverInterface $driver, Filesystem $filesystem) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function warmUp($cacheDir) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function isOptional() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Builds the cache data. |
||
| 61 | * |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | private function buildCacheData() |
||
| 74 | } |
||
| 75 |