TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Fluid\Core\Parser\Configuration Class Reference

Public Member Functions

 addInterceptor (\TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface $interceptor)
 
 getInterceptors ($interceptionPoint)
 

Protected Attributes

 $interceptors = []
 

Detailed Description

The parser configuration. Contains all configuration needed to configure the building of a SyntaxTree.

Definition at line 18 of file Configuration.php.

Member Function Documentation

◆ addInterceptor()

TYPO3\CMS\Fluid\Core\Parser\Configuration::addInterceptor ( \TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface  $interceptor)

Adds an interceptor to apply to values coming from object accessors.

Parameters
\TYPO3\CMS\Fluid\Core\Parser\InterceptorInterface$interceptor
Returns
void

Definition at line 33 of file Configuration.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

◆ getInterceptors()

TYPO3\CMS\Fluid\Core\Parser\Configuration::getInterceptors (   $interceptionPoint)

Returns all interceptors for a given Interception Point.

Parameters
int$interceptionPointone of the ::INTERCEPT_* constants,
Returns
<>

Definition at line 51 of file Configuration.php.

Member Data Documentation

◆ $interceptors

TYPO3\CMS\Fluid\Core\Parser\Configuration::$interceptors = []
protected

Definition at line 25 of file Configuration.php.