class LogoutUrlHelper extends Helper

deprecated since version 4.3, to be removed in 5.0; use Twig instead.

LogoutUrlHelper provides generator functions for the logout URL.

Properties

protected $charset from Helper

Methods

setCharset(string $charset)

Sets the default charset.

from Helper
string
getCharset()

Gets the default charset.

from Helper
__construct(LogoutUrlGenerator $generator)

No description

string
getLogoutPath(string|null $key)

Generates the absolute logout path for the firewall.

string
getLogoutUrl(string|null $key)

Generates the absolute logout URL for the firewall.

string
getName()

Returns the canonical name of this helper.

Details

in Helper at line 31
setCharset(string $charset)

Sets the default charset.

Parameters

string $charset The charset

in Helper at line 41
string getCharset()

Gets the default charset.

Return Value

string The default charset

at line 30
__construct(LogoutUrlGenerator $generator)

Parameters

LogoutUrlGenerator $generator

at line 42
string getLogoutPath(string|null $key)

Generates the absolute logout path for the firewall.

Parameters

string|null $key The firewall key or null to use the current firewall key

Return Value

string The logout path

at line 54
string getLogoutUrl(string|null $key)

Generates the absolute logout URL for the firewall.

Parameters

string|null $key The firewall key or null to use the current firewall key

Return Value

string The logout URL

at line 62
string getName()

Returns the canonical name of this helper.

Return Value

string The canonical name