ViolationPath::getElement()

string getElement(int $index) Returns the element at the given index in the property path. Parameters int $index The index key Return Value string A property or index name Exceptions OutOfBoundsException If the offset is invalid

PreAuthenticatedToken

class PreAuthenticatedToken extends AbstractToken PreAuthenticatedToken implements a pre-authenticated token. Methods __construct(string|object $user, mixed $credentials, string $providerKey, array $roles = array()) Constructor. RoleInterface[] getRoles() Returns the user roles. from AbstractToken string getUsername() Returns the username. from AbstractToken mixed getUser() Returns a user representation. from AbstractToken setUser(mixed $user) Sets a user. from Abstract

CookieTheftException

class CookieTheftException extends AuthenticationException This exception is thrown when the RememberMeServices implementation detects that a presented cookie has already been used by someone else. Methods TokenInterface getToken() Get the token. from AuthenticationException setToken(TokenInterface $token) Set the token. from AuthenticationException serialize() from AuthenticationException unserialize($str) from AuthenticationException string getMessageKey() Message key

Hour2400Transformer::normalizeHour()

int normalizeHour(int $hour, string $marker = null) Returns a normalized hour value suitable for the hour transformer type. Parameters int $hour The hour value string $marker An optional AM/PM marker Return Value int The normalized hour value

WindowsPipes::haveReadSupport()

bool haveReadSupport() Returns if pipes are able to read output. Return Value bool

DateTimeToStringTransformer::reverseTransform()

mixed reverseTransform(mixed $value) Transforms a date string in the configured timezone into a DateTime object. Parameters mixed $value The value in the transformed representation Return Value mixed The value in the original representation Exceptions TransformationFailedException If the given value is not a string, or could not be transformed

Regex::append()

ValueInterface append(string $expr) Parameters string $expr Return Value ValueInterface

Command::setDefinition()

Command setDefinition(array|InputDefinition $definition) Sets an array of argument and option instances. Parameters array|InputDefinition $definition An array of argument and option instances or a definition instance Return Value Command The current instance

InternalErrorException

class InternalErrorException extends ParseException ParseException is thrown when a CSS selector syntax is not valid. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

UserInterface::eraseCredentials()

eraseCredentials() Removes sensitive data from the user. This is important if, at any given point, sensitive information like the plain-text password is stored on this object.