GenericEvent::getSubject()

mixed getSubject() Getter for subject property. Return Value mixed $subject The observer subject

ValidatorBuilderInterface::setTranslator()

ValidatorBuilderInterface setTranslator(TranslatorInterface $translator) Sets the translator used for translating violation messages. Parameters TranslatorInterface $translator The translator instance Return Value ValidatorBuilderInterface The builder object

MonthTransformer::extractDateOptions()

array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse matching regular expression. Parameters string $matched The matched value int $length The length of the Transformer pattern string Return Value array An associative array

RouteCollection::add()

add(string $name, Route $route) Adds a route. Parameters string $name The route name Route $route A Route instance

Request::getEncodings()

array getEncodings() Gets a list of encodings acceptable by the client browser. Return Value array List of encodings in preferable order

SessionInterface

interface SessionInterface Interface for the session. Methods bool start() Starts the session storage. string getId() Returns the session ID. setId(string $id) Sets the session ID. mixed getName() Returns the session name. setName(string $name) Sets the session name. bool invalidate(int $lifetime = null) Invalidates the current session. bool migrate(bool $destroy = false, int $lifetime = null) Migrates the current session to a new session id while maintainin

Token::isDelimiter()

bool isDelimiter(array $values = array()) Parameters array $values Return Value bool

ChoiceListInterface deprecated::getIndicesForValues()

array getIndicesForValues(array $values) deprecated deprecated since version 2.4, to be removed in 3.0. Returns the indices corresponding to the given values. The indices must be positive integers or strings accepted by {@link \Symfony\Component\Form\FormConfigBuilder::validateName()}. The index "placeholder" is internally reserved. The indices must be returned with the same keys and in the same order as the corresponding values in the given array. Parameters array $values A

IsFalse

class IsFalse 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. NOT_FALSE_ERROR Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $message Methods static stri

ConsoleEvent::getInput()

InputInterface getInput() Gets the input instance. Return Value InputInterface An InputInterface instance