OutputInterface::isDebug()

bool isDebug() Returns whether verbosity is debug (-vvv). Return Value bool true if verbosity is set to VERBOSITY_DEBUG, false otherwise

OutputInterface::getVerbosity()

int getVerbosity() Gets the current verbosity of the output. Return Value int The current level of verbosity (one of the VERBOSITY constants)

OutputInterface::getFormatter()

OutputFormatterInterface getFormatter() Returns current output formatter instance. Return Value OutputFormatterInterface

OutputInterface

interface OutputInterface OutputInterface is the interface implemented by all Output classes. Constants VERBOSITY_QUIET VERBOSITY_NORMAL VERBOSITY_VERBOSE VERBOSITY_VERY_VERBOSE VERBOSITY_DEBUG OUTPUT_NORMAL OUTPUT_RAW OUTPUT_PLAIN Methods write(string|array $messages, bool $newline = false, int $options) Writes a message to the output. writeln(string|array $messages, int $options) Writes a message to the output and adds a newline at the end. s

OutputFormatterStyleStack::setEmptyStyle()

OutputFormatterStyleStack setEmptyStyle(OutputFormatterStyleInterface $emptyStyle) Parameters OutputFormatterStyleInterface $emptyStyle Return Value OutputFormatterStyleStack

OutputFormatterStyleStack::reset()

reset() Resets stack (ie. empty internal arrays).

OutputFormatterStyleStack::push()

push(OutputFormatterStyleInterface $style) Pushes a style in the stack. Parameters OutputFormatterStyleInterface $style

OutputFormatterStyleStack::pop()

OutputFormatterStyleInterface pop(OutputFormatterStyleInterface $style = null) Pops a style from the stack. Parameters OutputFormatterStyleInterface $style Return Value OutputFormatterStyleInterface Exceptions InvalidArgumentException When style tags incorrectly nested

OutputFormatterStyleStack::getEmptyStyle()

OutputFormatterStyleInterface getEmptyStyle() Return Value OutputFormatterStyleInterface

OutputFormatterStyleStack::getCurrent()

OutputFormatterStyle getCurrent() Computes current style with stacks top codes. Return Value OutputFormatterStyle