‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Cache\Event\CacheWarmupEvent Class Reference

Public Member Functions

 __construct (private readonly array $groups)
 
 getGroups ()
 
 hasGroup (string $group)
 
 getErrors ()
 
 addError (string $error)
 

Private Attributes

array $errors = []
 

Detailed Description

Event fired when caches are to be warmed up

Definition at line 23 of file CacheWarmupEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Cache\Event\CacheWarmupEvent::__construct ( private readonly array  $groups)

Definition at line 27 of file CacheWarmupEvent.php.

Member Function Documentation

◆ addError()

TYPO3\CMS\Core\Cache\Event\CacheWarmupEvent::addError ( string  $error)

Definition at line 44 of file CacheWarmupEvent.php.

◆ getErrors()

TYPO3\CMS\Core\Cache\Event\CacheWarmupEvent::getErrors ( )

◆ getGroups()

TYPO3\CMS\Core\Cache\Event\CacheWarmupEvent::getGroups ( )

Definition at line 29 of file CacheWarmupEvent.php.

◆ hasGroup()

Member Data Documentation

◆ $errors

array TYPO3\CMS\Core\Cache\Event\CacheWarmupEvent::$errors = []
private