CacheFeature extends AbstractFeature implements FeatureInterface
Cache feature sets best practices
only to be used within EXT:install
Table of Contents
Interfaces
- FeatureInterface
- A feature representation handles preset classes.
Properties
- $name : string
- $postValues : array
- $presetInstances : array
- $presetRegistry : array
Methods
- getName() : string
- Return name of feature
- getPresetsOrderedByPriority() : array|PresetInterface[]
- Return presets ordered by priority
- initializePresets() : mixed
- Initialize presets of feature
Properties
$name
protected
string
$name
= 'Cache'
Name of feature
$postValues
protected
array
$postValues
= []
List of $POST values
$presetInstances
protected
array
$presetInstances
= []
Holds instances of presets
$presetRegistry
protected
array
$presetRegistry
= [\TYPO3\CMS\Install\Configuration\Cache\DatabaseCachePreset::class, \TYPO3\CMS\Install\Configuration\Cache\FileCachePreset::class, \TYPO3\CMS\Install\Configuration\Cache\CustomCachePreset::class]
List of preset classes
Methods
getName()
Return name of feature
public
getName() : string
Return values
string —Name of feature
getPresetsOrderedByPriority()
Return presets ordered by priority
public
getPresetsOrderedByPriority() : array|PresetInterface[]
Tags
Return values
array|PresetInterface[]initializePresets()
Initialize presets of feature
public
initializePresets(array $postValues) : mixed
Parameters
- $postValues : array
-
List of $POST values of this feature