‪TYPO3CMS  11.5
TYPO3\CMS\Core\Configuration\Processor\Placeholder\ValueFromReferenceArrayProcessor Class Reference
Inheritance diagram for TYPO3\CMS\Core\Configuration\Processor\Placeholder\ValueFromReferenceArrayProcessor:
TYPO3\CMS\Core\Configuration\Processor\Placeholder\PlaceholderProcessorInterface

Public Member Functions

bool canProcess (string $placeholder, array $referenceArray)
 
array mixed string process (string $value, array $referenceArray)
 

Detailed Description

Returns the value for a placeholder as fetched from the referenceArray

Class ValueFromReferenceArrayProcessor

Definition at line 23 of file ValueFromReferenceArrayProcessor.php.

Member Function Documentation

◆ canProcess()

bool TYPO3\CMS\Core\Configuration\Processor\Placeholder\ValueFromReferenceArrayProcessor::canProcess ( string  $placeholder,
array  $referenceArray 
)
Parameters
string$placeholder
array$referenceArray
Returns
‪bool

Implements TYPO3\CMS\Core\Configuration\Processor\Placeholder\PlaceholderProcessorInterface.

Definition at line 30 of file ValueFromReferenceArrayProcessor.php.

◆ process()

array mixed string TYPO3\CMS\Core\Configuration\Processor\Placeholder\ValueFromReferenceArrayProcessor::process ( string  $value,
array  $referenceArray 
)

Returns the value for a placeholder as fetched from the referenceArray

Parameters
string$value‪the string to search for
array$referenceArray‪the main configuration array where to look up the data
Returns
‪array|mixed|string

Implements TYPO3\CMS\Core\Configuration\Processor\Placeholder\PlaceholderProcessorInterface.

Definition at line 43 of file ValueFromReferenceArrayProcessor.php.