PHP Class Contao\CoreBundle\EventListener\AddToSearchIndexListener

Afficher le fichier Open project: contao/core-bundle Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

onKernelTerminate() public méthode

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