| 1 | <?php | ||
| 22 | final class ProxyCacheWarmer implements CacheWarmerInterface | ||
| 23 | { | ||
| 24 | public const PROXY_CLASSES = [ | ||
| 25 | Content::class, | ||
| 26 | ContentInfo::class, | ||
| 27 | ContentType::class, | ||
| 28 | ContentTypeGroup::class, | ||
| 29 | Language::class, | ||
| 30 | Location::class, | ||
| 31 | Section::class, | ||
| 32 | User::class, | ||
| 33 | ]; | ||
| 34 | |||
| 35 | /** @var \eZ\Publish\Core\Repository\ProxyFactory\ProxyGeneratorInterface */ | ||
| 36 | private $proxyGenerator; | ||
| 37 | |||
| 38 | public function __construct(ProxyGeneratorInterface $proxyGenerator) | ||
| 42 | |||
| 43 | public function isOptional(): bool | ||
| 47 | |||
| 48 | public function warmUp($cacheDir): void | ||
| 52 | } | ||
| 53 |