PHP Class Contao\CoreBundle\EventListener\AddToSearchIndexListener

Exibir arquivo Open project: contao/core-bundle Class Usage Examples

Public Methods

Method Description
__construct ( Contao\CoreBundle\Framework\ContaoFrameworkInterface $framework, string $fragmentPath = '_fragment' ) Constructor.
onKernelTerminate ( Symfony\Component\HttpKernel\Event\PostResponseEvent $event ) Forwards the request to the Frontend class if there is a page object.

Method Details

__construct() public method

Constructor.
public __construct ( Contao\CoreBundle\Framework\ContaoFrameworkInterface $framework, string $fragmentPath = '_fragment' )
$framework Contao\CoreBundle\Framework\ContaoFrameworkInterface
$fragmentPath string

onKernelTerminate() public method

Forwards the request to the Frontend class if there is a page object.
public onKernelTerminate ( Symfony\Component\HttpKernel\Event\PostResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\PostResponseEvent