protected function write($messages, $newLine = false, $verbosity = OutputInterface::VERBOSITY_NORMAL)
    {
        if ($verbosity <= $this->output->getVerbosity()) {
            $this->output->write($messages);

            if (true === $newLine) {
                $this->output->writeln('');
            }
        }
    }
protected function write($messages, $newLine = false, $verbosity = OutputInterface::VERBOSITY_NORMAL)
    {
        if ($verbosity <= $this->output->getVerbosity()) {
            $this->output->write($messages);

            if (true === $newLine) {
                $this->output->writeln('');
            }
        }
    }
protected function write ( $ messages , $ newLine = false , $ verbosity = OutputInterface :: VERBOSITY_NORMAL ) { if ( $ verbosity <= $ this -> output -> getVerbosity ( ) ) { $ this -> output -> write ( $ messages ) ; if ( true === $ newLine ) { $ this -> output -> writeln ( '' ) ; } } }
Writes a message to the output

@param string|array $messages  The message as an array of lines or a single string
@param bool         $newLine   Whether to add a newline
@param int          $verbosity The verbosity of output (one of the VERBOSITY constants)
Writes a message to the output