class LogoutUrlExtension extends AbstractExtension
LogoutUrlHelper provides generator functions for the logout URL to Twig.
__construct(LogoutUrlGenerator $generator) | ||
getFunctions() {@inheritdoc} | ||
string | getLogoutPath(string|null $key = null) Generates the relative logout URL for the firewall. | |
string | getLogoutUrl(string|null $key = null) Generates the absolute logout URL for the firewall. | |
getName() {@inheritdoc} |
LogoutUrlGenerator | $generator |
{@inheritdoc}
Generates the relative logout URL for the firewall.
string|null | $key | The firewall key or null to use the current firewall key |
string | The relative logout URL |
Generates the absolute logout URL for the firewall.
string|null | $key | The firewall key or null to use the current firewall key |
string | The absolute logout URL |
{@inheritdoc}
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Twig/Extension/LogoutUrlExtension.html