AttributeBag::setName()

setName($name) Parameters $name

OutputFormatterStyle::setOption()

setOption(string $option) Sets some specific style option. Parameters string $option The option name Exceptions InvalidArgumentException When the option name isn't defined

ResolvedFormType::getParent()

ResolvedFormTypeInterface|null getParent() Returns the parent type. Return Value ResolvedFormTypeInterface|null The parent type or null

Command::getSynopsis()

string getSynopsis(bool $short = false) Returns the synopsis for the command. Parameters bool $short Whether to show the short version of the synopsis (with options folded) or not Return Value string The synopsis

Guess::getBestGuess()

static Guess|null getBestGuess(array $guesses) Returns the guess most likely to be correct from a list of guesses. If there are multiple guesses with the same, highest confidence, the returned guess is any of them. Parameters array $guesses An array of guesses Return Value Guess|null The guess with the highest confidence

ServiceReferenceGraphNode::getId()

string getId() Returns the identifier. Return Value string

ApcCache deprecated::has()

has(string $class) Returns whether metadata for the given class exists in the cache. Parameters string $class

ReversedTransformer::transform()

mixed transform(mixed $value) Transforms a value from the original representation to a transformed representation. This method is called on two occasions inside a form field: When the form field is initialized with the data attached from the datasource (object or array). When data from a request is submitted using {@link Form::submit()} to transform the new input data back into the renderable format. For example if you have a date field and submit '2009-10-10' you might accept th

Component\Form\ChoiceList\View

Classes ChoiceGroupView Represents a group of choices in templates. ChoiceListView Represents a choice list in templates. ChoiceView Represents a choice in templates.

MetadataInterface deprecated::findConstraints()

Constraint[] findConstraints(string $group) Returns all constraints for a given validation group. Parameters string $group The validation group Return Value Constraint[] A list of constraint instances