EnvVariableProcessor

class \TYPO3\CMS\Core\Configuration\Processor\Placeholder\EnvVariableProcessor

Implements
PlaceholderProcessorInterface

Return value from environment variable

Environment variables may only contain word characters and underscores (a-zA-Z0-9_) to be compatible to shell environments.

Table of Contents

Interfaces

PlaceholderProcessorInterface

Methods

canProcess()  : bool
process()  : mixed|string

Methods

canProcess()

public canProcess(string $placeholder, array $referenceArray) : bool

Parameters

$placeholder : string
$referenceArray : array

Return values

bool

process()

public process(string $value, array|null $referenceArray) : mixed|string

Parameters

$value : string
$referenceArray : array|null

Return values

mixed|string
On this page