You are here

public function NullOutput::writeln in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Output/NullOutput.php \Symfony\Component\Console\Output\NullOutput::writeln()

Writes a message to the output and adds a newline at the end.

Parameters

string|array $messages The message as an array of lines or a single string:

int $type The type of output (one of the OUTPUT constants):

Throws

\InvalidArgumentException When unknown output type is given

Overrides OutputInterface::writeln

File

vendor/symfony/console/Output/NullOutput.php, line 99

Class

NullOutput
NullOutput suppresses all output.

Namespace

Symfony\Component\Console\Output

Code

public function writeln($messages, $type = self::OUTPUT_NORMAL) {

  // do nothing
}