ExpressionFunction

class ExpressionFunction Represents a function that can be used in an expression. A function is defined by two PHP callables. The callables are used by the language to compile and/or evaluate the function. The "compiler" function is used at compilation time and must return a PHP representation of the function call (it receives the function arguments as arguments). The "evaluator" function is used for expression evaluation and must return the value of the function call based on the values def

EntityUserProvider::refreshUser()

UserInterface refreshUser(UserInterface $user) Refreshes the user for the account interface. It is up to the implementation to decide if the user data should be totally reloaded (e.g. from the database), or if the UserInterface object can just be merged into some internal array of users / identity map. Parameters UserInterface $user Return Value UserInterface Exceptions UnsupportedUserException if the account is not supported

OptionsResolverInterface deprecated::setRequired()

OptionsResolverInterface setRequired(array $optionNames) Sets required options. If these options are not passed to {@link resolve()} and no default has been set for them, an exception will be thrown. Parameters array $optionNames A list of option names. Return Value OptionsResolverInterface The resolver instance.

Compiler::compile()

Compiler compile(Node $node) Compiles a node. Parameters Node $node The node to compile Return Value Compiler The current compiler instance

MessageCatalogueInterface::addResource()

addResource(ResourceInterface $resource) Adds a resource for this collection. Parameters ResourceInterface $resource A resource instance

Component\Security\Csrf\TokenStorage

Classes NativeSessionTokenStorage Token storage that uses PHP's native session handling. SessionTokenStorage Token storage that uses a Symfony2 Session object. Interfaces TokenStorageInterface Stores CSRF tokens.

FormConfigBuilderInterface::setMethod()

FormConfigBuilderInterface setMethod(string $method) Sets the HTTP method used by the form. Parameters string $method The HTTP method of the form Return Value FormConfigBuilderInterface The configuration object

RecursiveContextualValidator::validateProperty()

ContextualValidatorInterface validateProperty(object $object, string $propertyName, array|null $groups = null) Validates a property of an object against the constraints specified for this property. Parameters object $object The object string $propertyName The name of the validated property array|null $groups The validation groups to validate. If none is given, "Default" is assumed Return Value ContextualValidatorInterface This validator

MergeDoctrineCollectionListener::onSubmit()

onSubmit(FormEvent $event) Parameters FormEvent $event

AbstractAdapter deprecated::setNotNames()

AdapterInterface setNotNames(array $notNames) Parameters array $notNames Return Value AdapterInterface Current instance