PHP Class Contao\CoreBundle\EventListener\RefererIdListener

Inheritance: use trait Contao\CoreBundle\Framework\ScopeAwareTrait
ファイルを表示 Open project: contao/core-bundle Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\Security\Csrf\CsrfTokenManagerInterface $tokenManager ) Constructor.
onKernelRequest ( GetResponseEvent $event ) Adds the referer ID to the request.

Method Details

__construct() public method

Constructor.
public __construct ( Symfony\Component\Security\Csrf\CsrfTokenManagerInterface $tokenManager )
$tokenManager Symfony\Component\Security\Csrf\CsrfTokenManagerInterface

onKernelRequest() public method

Adds the referer ID to the request.
public onKernelRequest ( GetResponseEvent $event )
$event Symfony\Component\HttpKernel\Event\GetResponseEvent