OutputFormatterStyleInterface

interface OutputFormatterStyleInterface Formatter style interface for defining styles. Methods setForeground(string $color = null) Sets style foreground color. setBackground(string $color = null) Sets style background color. setOption(string $option) Sets some specific style option. unsetOption(string $option) Unsets some specific style option. setOptions(array $options) Sets multiple style options at once. string apply(string $text) Applies the style to a given

Event

class Event Event is the base class for classes containing event data. This class contains no event data. It is used by events that do not pass state information to an event handler when an event is raised. You can call the method stopPropagation() to abort the execution of further listeners in your event listener. Methods bool isPropagationStopped() Returns whether further event listeners should be triggered. stopPropagation() Stops the propagation of the event to further event lis

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

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

ResolvedFormType::getParent()

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

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