CacheFeature extends AbstractFeature implements FeatureInterface

Cache feature sets best practices

Internal

only to be used within EXT:install

Table of Contents

Interfaces

FeatureInterface
A feature representation handles preset classes.

Properties

$name  : string
$postValues  : array<string|int, mixed>
$presetInstances  : array<string|int, mixed>
$presetRegistry  : array<string|int, mixed>

Methods

getName()  : string
Return name of feature
getPresetsOrderedByPriority()  : array<string|int, mixed>|array<string|int, PresetInterface>
Return presets ordered by priority
initializePresets()  : mixed
Initialize presets of feature

Properties

$name

protected string $name = 'Cache'

Name of feature

$postValues

protected array<string|int, mixed> $postValues = []

List of $POST values

$presetInstances

protected array<string|int, mixed> $presetInstances = []

Holds instances of presets

$presetRegistry

protected array<string|int, mixed> $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<string|int, mixed>|array<string|int, PresetInterface>
Tags
throws
Exception
Return values
array<string|int, mixed>|array<string|int, PresetInterface>

initializePresets()

Initialize presets of feature

public initializePresets(array<string|int, mixed> $postValues) : mixed
Parameters
$postValues : array<string|int, mixed>

List of $POST values of this feature

Tags
throws
Exception

        
On this page

Search results