MainConfiguration

class MainConfiguration implements ConfigurationInterface This class contains the configuration information. This information is for the following tags: security.config security.acl This information is solely responsible for how the different configuration sections are normalized, and merged. Methods __construct(array $factories, array $userProviderFactories) Constructor. TreeBuilder getConfigTreeBuilder() Generates the configuration tree builder. Details

LuhnValidator

class LuhnValidator extends ConstraintValidator Validates a PAN using the LUHN Algorithm. For a list of example card numbers that are used to test this class, please see the LuhnValidatorTest class. Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from Con

Luhn

class Luhn extends Constraint Metadata for the LuhnValidator. Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. INVALID_CHARACTERS_ERROR CHECKSUM_FAILED_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constra

LogoutUrlHelper::getName()

string getName() Returns the canonical name of this helper. Return Value string The canonical name

LogoutUrlHelper::getLogoutUrl()

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

LogoutUrlHelper::getLogoutPath()

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

LogoutUrlHelper

class LogoutUrlHelper extends Helper LogoutUrlHelper provides generator functions for the logout URL. Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(LogoutUrlGenerator $generator) Constructor. 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.

LogoutUrlGenerator::registerListener()

registerListener(string $key, string $logoutPath, string $csrfTokenId, string $csrfParameter, CsrfTokenManagerInterface $csrfTokenManager = null) Registers a firewall's LogoutListener, allowing its URL to be generated. Parameters string $key The firewall key string $logoutPath The path that starts the logout process string $csrfTokenId The ID of the CSRF token string $csrfParameter The CSRF token parameter name CsrfTokenManagerInterface $csrfTokenManager A CsrfTokenManagerInterface

LogoutUrlGenerator::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 logout URL

LogoutUrlGenerator::getLogoutPath()

string getLogoutPath(string|null $key = null) 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