Packages::addPackage()

addPackage(string $name, PackageInterface $package) Adds a package. Parameters string $name The package name PackageInterface $package The package

ExecutionContextInterface::markConstraintAsValidated()

markConstraintAsValidated(string $cacheKey, string $constraintHash) Marks a constraint as validated for an object. Parameters string $cacheKey The hash of the object string $constraintHash The hash of the constraint

RingBuffer::offsetGet()

offsetGet($key) {@inheritdoc} Parameters $key

MimeTypeGuesser::reset()

static reset() Resets the singleton instance.

ExprBuilder::thenUnset()

ExprBuilder thenUnset() Sets a closure unsetting this key of the array at validation time. Return Value ExprBuilder Exceptions UnsetKeyException

StyleInterface::askHidden()

string askHidden(string $question, callable|null $validator = null) Asks a question with the user input hidden. Parameters string $question callable|null $validator Return Value string

Component\Console\Style

Classes OutputStyle Decorates output to add console style guide helpers. SymfonyStyle Output decorator helpers for the Symfony Style Guide. Interfaces StyleInterface Output style helpers.

InvalidCsrfTokenException

class InvalidCsrfTokenException extends AuthenticationException This exception is thrown when the csrf token is invalid. 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 to be used by the translation component. array getMessageData() Message

Container::reset()

reset() Resets shared services from the container. The container is not intended to be used again after being reset in a normal workflow. This method is meant as a way to release references for ref-counting. A subsequent call to ContainerInterface::get will recreate a new instance of the shared service.

Regex::getType()

int getType() Returns expression type. Return Value int