PHP Class Nelmio\SecurityBundle\EventListener\ForcedSslListener

Afficher le fichier Open project: nelmio/NelmioSecurityBundle

Méthodes publiques

Méthode Description
__construct ( $hstsMaxAge, $hstsSubdomains, $hstsPreload = false, array $whitelist = [], array $hosts = [] )
onKernelRequest ( GetResponseEvent $e )
onKernelResponse ( FilterResponseEvent $e )

Method Details

__construct() public méthode

public __construct ( $hstsMaxAge, $hstsSubdomains, $hstsPreload = false, array $whitelist = [], array $hosts = [] )
$whitelist array
$hosts array

onKernelRequest() public méthode

public onKernelRequest ( GetResponseEvent $e )
$e Symfony\Component\HttpKernel\Event\GetResponseEvent

onKernelResponse() public méthode

public onKernelResponse ( FilterResponseEvent $e )
$e Symfony\Component\HttpKernel\Event\FilterResponseEvent