XmlEncoder::supportsEncoding()

bool supportsEncoding(string $format) Checks whether the serializer can encode to given format. Parameters string $format format name Return Value bool

AbstractAdapter deprecated::setDates()

AdapterInterface setDates(array $dates) Parameters array $dates Return Value AdapterInterface Current instance

ExecutionContextInterface::addViolation()

addViolation(string $message, array $params = array()) Adds a violation at the current node of the validation graph. Parameters string $message The error message array $params The parameters substituted in the error message

FrameworkBundle::build()

build(ContainerBuilder $container) Builds the bundle. It is only ever called once when the cache is empty. This method can be overridden to register compilation passes, other extensions, ... Parameters ContainerBuilder $container A ContainerBuilder instance

Form::count()

int count() Returns the number of form children (implements the \Countable interface). Return Value int The number of embedded form children

CombinationExtension::getName()

string getName() Returns extension name. Return Value string

ResponseHeaderBag::getCookies()

array getCookies(string $format = self::COOKIES_FLAT) Returns an array with all cookies. Parameters string $format Return Value array Exceptions InvalidArgumentException When the $format is invalid

SessionHelper::getFlashes()

getFlashes()

NullOutput::write()

write(string|array $messages, bool $newline = false, int $options = self::OUTPUT_NORMAL) Writes a message to the output. Parameters string|array $messages The message as an array of lines or a single string bool $newline Whether to add a newline int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUTNORMAL | self::VERBOSITYNORMAL

GuardAuthenticatorInterface::getUser()

UserInterface|null getUser(mixed $credentials, UserProviderInterface $userProvider) Return a UserInterface object based on the credentials. The credentials are the return value from getCredentials() You may throw an AuthenticationException if you wish. If you return null, then a UsernameNotFoundException is thrown for you. Parameters mixed $credentials UserProviderInterface $userProvider Return Value UserInterface|null Exceptions AuthenticationException