UtilCacheWarmer
in package
implements
CacheWarmerInterface
Table of Contents
Interfaces
- CacheWarmerInterface
Properties
- $connection : Connection
- $filesystem : Filesystem
- $framework : ContaoFrameworkInterface
- $templateUtil : TemplateUtil
Methods
- __construct() : mixed
- Constructor.
- isOptional() : mixed
- {@inheritdoc}
- warmUp() : mixed
- {@inheritdoc}
- generateTemplateMapper() : mixed
- Generates the template mapper array.
- isCompleteInstallation() : bool
- Checks if the installation is complete.
Properties
$connection
private
Connection
$connection
$filesystem
private
Filesystem
$filesystem
$framework
private
ContaoFrameworkInterface
$framework
$templateUtil
private
TemplateUtil
$templateUtil
Methods
__construct()
Constructor.
public
__construct(Filesystem $filesystem, ResourceFinderInterface $finder, FileLocator $locator, string $rootDir, Connection $connection, TemplateUtil $templateUtil, ContaoFrameworkInterface $framework) : mixed
Parameters
- $filesystem : Filesystem
- $finder : ResourceFinderInterface
- $locator : FileLocator
- $rootDir : string
- $connection : Connection
- $templateUtil : TemplateUtil
- $framework : ContaoFrameworkInterface
isOptional()
{@inheritdoc}
public
isOptional() : mixed
warmUp()
{@inheritdoc}
public
warmUp(mixed $cacheDir) : mixed
Parameters
- $cacheDir : mixed
generateTemplateMapper()
Generates the template mapper array.
private
generateTemplateMapper(string $cacheDir) : mixed
Parameters
- $cacheDir : string
-
The cache directory
isCompleteInstallation()
Checks if the installation is complete.
private
isCompleteInstallation() : bool