ValueFromReferenceArrayProcessor implements PlaceholderProcessorInterface
Returns the value for a placeholder as fetched from the referenceArray
Table of Contents
Interfaces
Methods
- canProcess() : bool
- process() : array<string|int, mixed>|mixed|string
- Returns the value for a placeholder as fetched from the referenceArray
Methods
canProcess()
    public
                    canProcess(string $placeholder, array<string|int, mixed> $referenceArray) : bool
    Parameters
- $placeholder : string
- $referenceArray : array<string|int, mixed>
Return values
boolprocess()
Returns the value for a placeholder as fetched from the referenceArray
    public
                    process(string $value, array<string|int, mixed> $referenceArray) : array<string|int, mixed>|mixed|string
    Parameters
- $value : string
- 
                    the string to search for 
- $referenceArray : array<string|int, mixed>
- 
                    the main configuration array where to look up the data