Symfony\Component\Security\Http\Firewall\LogoutListener::__construct
Constructor
Signature
public function __construct(SecurityContextInterface
$securityContext,
[HttpUtils
$httpUtils = null,
[LogoutSuccessHandlerInterface
$successHandler = null,
[CsrfProviderInterface
$options = null,
[CsrfProviderInterface
$csrfProvider = null]]]] )
Parameters
$securityContext
— Symfony\Component\Security\Core\SecurityContextInterface
$httpUtils
— Symfony\Component\Security\Http\HttpUtils- An HttpUtilsInterface instance
$successHandler
— Symfony\Component\Security\Http\Logout\LogoutSuccessHandlerInterface- A LogoutSuccessHandlerInterface instance
$options
— array- An array of options to process a logout attempt
$csrfProvider
— Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface- A CsrfProviderInterface instance