PHP Class Sulu\Bundle\MarkupBundle\Listener\MarkupListener

Mostra file Open project: sulu/sulu

Public Methods

Method Description
__construct ( array $markupParser )
replaceMarkup ( FilterResponseEvent $event ) Parses content of response and set the replaced html as new content.

Method Details

__construct() public method

public __construct ( array $markupParser )
$markupParser array

replaceMarkup() public method

Parses content of response and set the replaced html as new content.
public replaceMarkup ( FilterResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\FilterResponseEvent