‪TYPO3CMS  ‪main
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

 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()

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

◆ 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 38 of file ValueFromReferenceArrayProcessor.php.