CacheWarmerAggregate
    
            
            in package
            
        
    
            
            implements
                            CacheWarmerInterface                    
    
    
        
            Aggregates several cache warmers into a single one.
Tags
Interfaces, Classes, Traits and Enums
- CacheWarmerInterface
 - Interface for classes able to warm up the cache.
 
Table of Contents
- $debug : mixed
 - $deprecationLogsFilepath : mixed
 - $onlyOptionalsEnabled : mixed
 - $optionalsEnabled : mixed
 - $warmers : mixed
 - __construct() : mixed
 - enableOnlyOptionalWarmers() : mixed
 - enableOptionalWarmers() : mixed
 - isOptional() : bool
 - Checks whether this warmer is optional or not.
 - warmUp() : mixed
 - Warms up the cache.
 
Properties
$debug
    private
        mixed
    $debug
    
        
        
    
$deprecationLogsFilepath
    private
        mixed
    $deprecationLogsFilepath
    
        
        
    
$onlyOptionalsEnabled
    private
        mixed
    $onlyOptionalsEnabled
     = false
        
        
    
$optionalsEnabled
    private
        mixed
    $optionalsEnabled
     = false
        
        
    
$warmers
    private
        mixed
    $warmers
    
        
        
    
Methods
__construct()
    public
                    __construct([iteratable<string|int, mixed> $warmers = [] ][, bool $debug = false ][, string $deprecationLogsFilepath = null ]) : mixed
        
        Parameters
- $warmers : iteratable<string|int, mixed> = []
 - $debug : bool = false
 - $deprecationLogsFilepath : string = null
 
Return values
mixed —enableOnlyOptionalWarmers()
    public
                    enableOnlyOptionalWarmers() : mixed
        
    
    
        Return values
mixed —enableOptionalWarmers()
    public
                    enableOptionalWarmers() : mixed
        
    
    
        Return values
mixed —isOptional()
Checks whether this warmer is optional or not.
    public
                    isOptional() : bool
    
    
    
        Return values
bool —always false
warmUp()
Warms up the cache.
    public
                    warmUp(string $cacheDir) : mixed
    
        Parameters
- $cacheDir : string
 - 
                    
The cache directory