You are here

public function NullOutput::write in Zircon Profile 8

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

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 $type The type of output (one of the OUTPUT constants):

Throws

\InvalidArgumentException When unknown output type is given

Overrides OutputInterface::write

File

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

Class

NullOutput
NullOutput suppresses all output.

Namespace

Symfony\Component\Console\Output

Code

public function write($messages, $newline = false, $type = self::OUTPUT_NORMAL) {

  // do nothing
}