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

Response::setMaxAge()

Response setMaxAge(int $value) Sets the number of seconds after which the response should no longer be considered fresh. This methods sets the Cache-Control max-age directive. Parameters int $value Number of seconds Return Value Response

AcceptHeaderItem::fromString()

static AcceptHeaderItem fromString(string $itemValue) Builds an AcceptHeaderInstance instance from a string. Parameters string $itemValue Return Value AcceptHeaderItem

Process::addErrorOutput()

addErrorOutput(string $line) Adds a line to the STDERR stream. Parameters string $line The line to append

ClassMetadata::getClassName()

string getClassName() Returns the name of the backing PHP class. Return Value string The name of the backing class

Callback

class Callback extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint string|callable $callback Methods static string

Parser::parseHashExpression()

parseHashExpression()

InputDefinition

class InputDefinition A InputDefinition represents a set of valid command line arguments and options. Usage: $definition = new InputDefinition(array( new InputArgument('name', InputArgument::REQUIRED), new InputOption('foo', 'f', InputOption::VALUE_REQUIRED), )); Methods __construct(array $definition = array()) Constructor. setDefinition(array $definition) Sets the definition of the input. setArguments(InputArgument[] $arguments = array()) Sets the InputArgument objects.

EncoderInterface::supportsEncoding()

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