EnvVariableProcessor
class \
- 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
Methods
- canProcess() : bool
- process() : mixed|string
Methods
canProcess()
public
canProcess(string $placeholder, array $referenceArray) : bool
Parameters
- $placeholder : string
- $referenceArray : array
Return values
boolprocess()
public
process(string $value, array|null $referenceArray) : mixed|string
Parameters
- $value : string
- $referenceArray : array|null