Processor::normalizeConfig()

static array normalizeConfig(array $config, string $key, string $plural = null) Normalizes a configuration entry. This method returns a normalize configuration array for a given key to remove the differences due to the original format (YAML and XML mainly). Here is an example. The configuration in XML: twig.extension.footwig.extension.bar And the same configuration in YAML: extensions: ['twig.extension.foo', 'twig.extension.bar'] Parameters array $config A config arr

Component\Config\Definition\Builder

Classes ArrayNodeDefinition This class provides a fluent interface for defining an array node. BooleanNodeDefinition This class provides a fluent interface for defining a node. EnumNodeDefinition Enum Node Definition. ExprBuilder This class builds an if expression. FloatNodeDefinition This class provides a fluent interface for defining a float node. IntegerNodeDefinition This class provides a fluent interface for defining an integer node. MergeBuilder This class build

VariableNode::hasDefaultValue()

bool hasDefaultValue() Returns true when the node has a default value. Return Value bool If the node has a default value

UnsetKeyException

class UnsetKeyException extends Exception This exception is usually not encountered by the end-user, but only used internally to signal the parent scope to unset a key.

Output::writeln()

writeln(string|array $messages, int $options = self::OUTPUT_NORMAL) 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

OutputInterface::write()

write(string|array $messages, bool $newline = false, int $options) Writes a message to the output. Parameters string|array $messages The message as an array of lines or a single string bool $newline Whether to add a newline int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants), 0 is considered the same as self::OUTPUTNORMAL | self::VERBOSITYNORMAL

NullOutput::isQuiet()

bool isQuiet() Returns whether verbosity is quiet (-q). Return Value bool true if verbosity is set to VERBOSITY_QUIET, false otherwise

SymfonyStyle::ask()

string ask(string $question, string|null $default = null, callable|null $validator = null) Asks a question. Parameters string $question string|null $default callable|null $validator Return Value string

PassConfig::setBeforeRemovingPasses()

setBeforeRemovingPasses(array $passes) Sets the BeforeRemoving passes. Parameters array $passes An array of passes

StyleInterface::text()

text(string|array $message) Formats informational text. Parameters string|array $message