Contao Utils Bundle

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

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

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
Return values
bool

        
On this page

Search results