PHP Class Goetas\Twital\EventSubscriber\AbstractTwigExpressionSubscriber

Author: Martin Hasoň ([email protected])
Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
显示文件 Open project: goetas/twital Class Usage Examples

Protected Properties

Property Type Description
$placeholderFormat
$regexes

Public Methods

Method Description
__construct ( array $placeholder = ['[_TWITAL_[', ']_TWITAL_]'], array $options = [] )

Protected Methods

Method Description
processPlaceholder ( $template, Closure $processor )
processTwig ( $template, CLosure $processor )

Method Details

__construct() public method

public __construct ( array $placeholder = ['[_TWITAL_[', ']_TWITAL_]'], array $options = [] )
$placeholder array
$options array

processPlaceholder() protected method

protected processPlaceholder ( $template, Closure $processor )
$processor Closure

processTwig() protected method

protected processTwig ( $template, CLosure $processor )
$processor CLosure

Property Details

$placeholderFormat protected_oe property

protected $placeholderFormat

$regexes protected_oe property

protected $regexes