Documentation

LogoutUrlExtension extends AbstractExtension
in package

FinalYes

LogoutUrlHelper provides generator functions for the logout URL to Twig.

Tags
author

Jeremy Mikola jmikola@gmail.com

Table of Contents

Properties

$generator  : mixed

Methods

__construct()  : mixed
getFilters()  : array<string|int, TwigFilter>
Returns a list of filters to add to the existing list.
getFunctions()  : array<string|int, TwigFunction>
Returns a list of functions to add to the existing list.
getLogoutPath()  : string
Generates the relative logout URL for the firewall.
getLogoutUrl()  : string
Generates the absolute logout URL for the firewall.
getNodeVisitors()  : array<string|int, NodeVisitorInterface>
Returns the node visitor instances to add to the existing list.
getOperators()  : array<string|int, array<string|int, mixed>>
Returns a list of operators to add to the existing list.
getTests()  : array<string|int, TwigTest>
Returns a list of tests to add to the existing list.
getTokenParsers()  : array<string|int, TokenParserInterface>
Returns the token parser instances to add to the existing list.

Properties

Methods

getLogoutPath()

Generates the relative logout URL for the firewall.

public getLogoutPath([string|null $key = null ]) : string
Parameters
$key : string|null = null

The firewall key or null to use the current firewall key

Return values
string

getLogoutUrl()

Generates the absolute logout URL for the firewall.

public getLogoutUrl([string|null $key = null ]) : string
Parameters
$key : string|null = null

The firewall key or null to use the current firewall key

Return values
string

getOperators()

Returns a list of operators to add to the existing list.

public getOperators() : array<string|int, array<string|int, mixed>>
Return values
array<string|int, array<string|int, mixed>>

First array of unary operators, second array of binary operators


        
On this page

Search results