AttributeBag::setName()

setName($name) Parameters $name

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

Cookie::isHttpOnly()

bool isHttpOnly() Returns the httponly flag of the cookie. Return Value bool The cookie httponly flag

VariadicValueResolver::resolve()

Generator resolve(Request $request, ArgumentMetadata $argument) Returns the possible value(s). Parameters Request $request ArgumentMetadata $argument Return Value Generator

InputInterface::getFirstArgument()

string getFirstArgument() Returns the first argument from the raw parameters (not parsed). Return Value string The value of the first argument or null otherwise

ButtonBuilder::getOption()

mixed getOption(string $name, mixed $default = null) Returns the value of a specific option. Parameters string $name The option name mixed $default The value returned if the option does not exist Return Value mixed The option value

CommentHandler

class CommentHandler implements HandlerInterface CSS selector comment handler. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods bool handle(Reader $reader, TokenStream $stream) Details bool handle(Reader $reader, TokenStream $stream) Parameters Reader $reader TokenStream $stream Return Value bool

ClassParser

class ClassParser implements ParserInterface CSS selector class parser shortcut. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Methods SelectorNode[] parse(string $source) Parses given selector source into an array of tokens. Details SelectorNode[] parse(string $source) Parses given selector source into an array of tokens. Parameters string $source Retur

Token

class Token CSS selector token. This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect. Constants TYPE_FILE_END TYPE_DELIMITER TYPE_WHITESPACE TYPE_IDENTIFIER TYPE_HASH TYPE_NUMBER TYPE_STRING Methods __construct(int $type, string $value, int $position) int getType() string getValue() int getPosition() bool isFileEnd() bool isDelimiter(array $values =

OutputInterface::writeln()

writeln(string|array $messages, int $options) Writes a message to the output and adds a newline at the end. Parameters string|array $messages The message as an array of lines of a single string int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUTNORMAL | self::VERBOSITYNORMAL