LogoutUrlHelper
extends Helper
in package
LogoutUrlHelper provides generator functions for the logout URL.
Tags
Table of Contents
- $generator : mixed
- __construct() : mixed
- getLogoutPath() : string
- Generates the absolute logout path for the firewall.
- getLogoutUrl() : string
- Generates the absolute logout URL for the firewall.
- getName() : mixed
- {@inheritdoc}
Properties
$generator
private
mixed
$generator
Methods
__construct()
public
__construct(LogoutUrlGenerator $generator) : mixed
Parameters
- $generator : LogoutUrlGenerator
Return values
mixed —getLogoutPath()
Generates the absolute logout path for the firewall.
public
getLogoutPath(string|null $key) : string
Parameters
- $key : string|null
-
The firewall key or null to use the current firewall key
Return values
string —The logout path
getLogoutUrl()
Generates the absolute logout URL for the firewall.
public
getLogoutUrl(string|null $key) : string
Parameters
- $key : string|null
-
The firewall key or null to use the current firewall key
Return values
string —The logout URL
getName()
{@inheritdoc}
public
getName() : mixed