1 | <?php |
||
8 | class AmqpCacheWarmer implements CacheWarmerInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var ContainerInterface |
||
12 | */ |
||
13 | private $container; |
||
14 | |||
15 | /** |
||
16 | * @param ContainerInterface $container |
||
17 | */ |
||
18 | public function __construct(ContainerInterface $container) |
||
22 | |||
23 | /** |
||
24 | * @inheritdoc |
||
25 | */ |
||
26 | public function isOptional() |
||
30 | |||
31 | /** |
||
32 | * @inheritdoc |
||
33 | */ |
||
34 | public function warmUp($cacheDir) |
||
39 | |||
40 | /** |
||
41 | * Loads the services from the DIC, thereby automatically declaring associated exchanges/queues. |
||
42 | * |
||
43 | * @param string[] $services |
||
44 | */ |
||
45 | private function loadServices($services) |
||
55 | } |
||
56 |