LogoutUrlExtension

LogoutUrlExtension

class LogoutUrlExtension extends AbstractExtension

LogoutUrlHelper provides generator functions for the logout URL to Twig.

Methods

__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.