Symfony\Bundle\SecurityBundle\Templating\Helper\LogoutUrlHelper::registerListener
Registers a firewall's LogoutListener, allowing its URL to be generated.
Signature
Parameters
$key
—
string
- The firewall key
$logoutPath
—
string
- The path that starts the logout process
$intention
—
string
- The intention for CSRF token generation
$csrfParameter
—
string
- The CSRF token parameter name
$csrfProvider
—
Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface
- A CsrfProviderInterface instance