ParameterBag::add()

add(array $parameters = array()) Adds parameters. Parameters array $parameters An array of parameters

Form::getRoot()

FormInterface getRoot() Returns the root of the form tree. Return Value FormInterface The root of the tree

OperationInterface::getNewMessages()

array getNewMessages(string $domain) Returns new messages ('new') after operation. Parameters string $domain Return Value array

GlobalExecutionContextInterface deprecated::getValidatorFactory()

ConstraintValidatorFactoryInterface getValidatorFactory() Returns the factory for constraint validators. Return Value ConstraintValidatorFactoryInterface The constraint validator factory.

GuardTokenInterface

interface GuardTokenInterface implements TokenInterface A marker interface that both guard tokens implement. Any tokens passed to GuardAuthenticationProvider (i.e. any tokens that are handled by the guard auth system) must implement this interface. Methods string __toString() Returns a string representation of the Token. from TokenInterface RoleInterface[] getRoles() Returns the user roles. from TokenInterface mixed getCredentials() Returns the user credentials. from TokenInterf

ValidatorInterface

interface ValidatorInterface implements MetadataFactoryInterface Validates PHP values against constraints. Methods MetadataInterface getMetadataFor(mixed $value) Returns the metadata for the given value. from MetadataFactoryInterface bool hasMetadataFor(mixed $value) Returns whether the class is able to return metadata for the given value. from MetadataFactoryInterface ConstraintViolationListInterface validate(mixed $value, Constraint|Constraint[] $constraints = null, array|null

Component\Intl\Globals

Classes IntlGlobals Provides fake static versions of the global functions in the intl extension

DayOfWeekTransformer::format()

string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. Parameters DateTime $dateTime A DateTime object to be used to generate the formatted value int $length The formatted value string length Return Value string The formatted value

Section::getEvent()

StopwatchEvent getEvent(string $name) Returns a specific event by name. Parameters string $name The event name Return Value StopwatchEvent The event Exceptions LogicException When the event is not known

FinishRequestEvent

class FinishRequestEvent extends KernelEvent Triggered whenever a request is fully processed. Methods bool isPropagationStopped() Returns whether further event listeners should be triggered. from Event stopPropagation() Stops the propagation of the event to further event listeners. from Event setDispatcher(EventDispatcherInterface $dispatcher) deprecated Stores the EventDispatcher that dispatches this Event from Event EventDispatcherInterface getDispatcher() deprecated Return