Goetas\Twital\EventSubscriber\ContextAwareEscapingSubscriber::__construct PHP Method

__construct() public method

public __construct ( array $placeholder = ['[_TWITAL_[', ']_TWITAL_]'], array $options = [] )
$placeholder array
$options array
    public function __construct(array $placeholder = array('[_TWITAL_[', ']_TWITAL_]'), array $options = array())
    {
        $this->placeholder = array('[_TWITAL_[', ']_TWITAL_]');
        $this->options = array_merge(array('tag_block' => array('{%', '%}'), 'tag_variable' => array('{{', '}}')), $options);
    }