LogoutUrlGenerator

class LogoutUrlGenerator Provides generator functions for the logout URL. Methods __construct(RequestStack $requestStack = null, UrlGeneratorInterface $router = null, TokenStorageInterface $tokenStorage = null) registerListener(string $key, string $logoutPath, string $csrfTokenId, string $csrfParameter, CsrfTokenManagerInterface $csrfTokenManager = null) Registers a firewall's LogoutListener, allowing its URL to be generated. string getLogoutPath(string|null $key = null) Gener

LogoutUrlExtension::getName()

getName() {@inheritdoc}

LogoutUrlExtension::getLogoutUrl()

string getLogoutUrl(string|null $key = null) 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 absolute logout URL

LogoutUrlExtension::getLogoutPath()

string getLogoutPath(string|null $key = null) Generates the relative logout URL for the firewall. Parameters string|null $key The firewall key or null to use the current firewall key Return Value string The relative logout URL

LogoutUrlExtension::getFunctions()

getFunctions() {@inheritdoc}

LogoutUrlExtension deprecated::getName()

getName() {@inheritdoc}

LogoutUrlExtension deprecated::getLogoutUrl()

string getLogoutUrl(string|null $key = null) 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 absolute logout URL

LogoutUrlExtension deprecated::getLogoutPath()

string getLogoutPath(string|null $key = null) Generates the relative logout URL for the firewall. Parameters string|null $key The firewall key or null to use the current firewall key Return Value string The relative logout URL

LogoutUrlExtension deprecated::getFunctions()

getFunctions() {@inheritdoc}

LogoutUrlExtension deprecated

class LogoutUrlExtension extends Twig_Extension deprecated since version 2.7, to be removed in 3.0. Use Symfony\Bridge\Twig\Extension\LogoutUrlExtension instead. LogoutUrlHelper provides generator functions for the logout URL to Twig. Methods __construct(LogoutUrlHelper $helper) getFunctions() {@inheritdoc} string getLogoutPath(string|null $key = null) Generates the relative logout URL for the firewall. string getLogoutUrl(string|null $key = null) Generates the absolu