Component\Validator\Exception

Classes BadMethodCallException Base BadMethodCallException for the Validator component. ConstraintDefinitionException GroupDefinitionException InvalidArgumentException Base InvalidArgumentException for the Validator component. InvalidOptionsException MappingException MissingOptionsException NoSuchMetadataException UnexpectedTypeException ValidatorException Interfaces ExceptionInterface Base ExceptionInterface for the Validator component.

SimpleAuthenticatorInterface::authenticateToken()

authenticateToken(TokenInterface $token, UserProviderInterface $userProvider, $providerKey) Parameters TokenInterface $token UserProviderInterface $userProvider $providerKey

PropertyPathBuilder::replace()

replace(int $offset, int $length, PropertyPathInterface|string $path, int $pathOffset, int $pathLength) Replaces a sub-path by a different (sub-) path. Parameters int $offset The offset at which to replace int $length The length of the piece to replace PropertyPathInterface|string $path The path to insert int $pathOffset The offset where the inserted piece starts in $path. int $pathLength The length of the inserted piece If 0, the full path is inserted. Exceptions OutOfBoundsExcep

SessionUnavailableException

class SessionUnavailableException extends AuthenticationException This exception is thrown when no session is available. Possible reasons for this are: a) The session timed out because the user waited too long. b) The user has disabled cookies, and a new session is started on each request. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AuthenticationEx

ExceptionListenerPass

class ExceptionListenerPass implements CompilerPassInterface Registers the Twig exception listener if Twig is registered as a templating engine. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

AuthenticationTrustResolver::isRememberMe()

bool isRememberMe(TokenInterface $token = null) Resolves whether the passed token implementation is authenticated using remember-me capabilities. Parameters TokenInterface $token Return Value bool

NotImplementedException

class NotImplementedException extends RuntimeException Base exception class for not implemented behaviors of the intl extension in the Locale component. Constants INTL_INSTALL_MESSAGE Methods __construct(string $message) Constructor. Details __construct(string $message) Constructor. Parameters string $message The exception message. A note to install the intl extension is appended to this string

TranslatorInterface

interface TranslatorInterface TranslatorInterface. Methods string trans(string $id, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given message. string transChoice(string $id, int $number, array $parameters = array(), string|null $domain = null, string|null $locale = null) Translates the given choice message by choosing a translation according to a number. setLocale(string $locale) Sets the current locale. string getLoc

ChoiceListInterface deprecated::getChoices()

array getChoices() Returns the list of choices. Return Value array The choices with their indices as keys

FormThemeTokenParser

class FormThemeTokenParser extends Twig_TokenParser Token Parser for the 'form_theme' tag. Methods Twig_Node parse(Twig_Token $token) Parses a token and returns a node. string getTag() Gets the tag name associated with this token parser. Details Twig_Node parse(Twig_Token $token) Parses a token and returns a node. Parameters Twig_Token $token A Twig_Token instance Return Value Twig_Node A Twig_Node instance stri