FormConfigBuilder::setAttributes()

FormConfigBuilderInterface setAttributes(array $attributes) Sets the attributes. Parameters array $attributes The attributes Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilderInterface::setData()

FormConfigBuilderInterface setData(mixed $data) Sets the initial data of the form. Parameters mixed $data The data of the form in application format Return Value FormConfigBuilderInterface The configuration object

RequestContext::setMethod()

RequestContext setMethod(string $method) Sets the HTTP method. Parameters string $method The HTTP method Return Value RequestContext The current instance, implementing a fluent interface

ModelChoiceList::getValuesForChoices()

array getValuesForChoices(array $models) Returns the values corresponding to the given choices. The values must be strings. The values must be returned with the same keys and in the same order as the corresponding choices in the given array. Parameters array $models Return Value array An array of choice values with ascending, 0-based numeric keys

HtmlDumper::setStyles()

setStyles(array $styles) Configures styles. Parameters array $styles A map of style names to style definitions

ExecutionContext::getValidator()

ValidatorInterface getValidator() Returns the validator. Useful if you want to validate additional constraints: public function validate($value, Constraint $constraint) { $validator = $this->context->getValidator(); $violations = $validator->validateValue($value, new Length(array('min' => 3))); if (count($violations) > 0) { // ... } } Return Value ValidatorInterface

PersistentToken::getSeries()

string getSeries() Returns the series. Return Value string

ArgumentMetadata::getType()

string getType() Returns the type of the argument. The type is the PHP class in 5.5+ and additionally the basic type in PHP 7.0+. Return Value string

Bridge\Twig\DataCollector

Classes TwigDataCollector TwigDataCollector.

ErrorsLoggerListener deprecated::injectLogger()

injectLogger()