src/phpDocumentor/Console/Output/Output.php
public function write($message, $newline = false, $type = 0)
    {
        $messages = (array) $message;

        if ($this->getLogger()) {
            foreach ($messages as $message) {
                $this->getLogger()->info($this->getFormatter()->format(strip_tags($message)));
            }
        }

        parent::write($messages, $newline, $type);
    }
public function write($message, $newline = false, $type = 0)
    {
        $messages = (array) $message;

        if ($this->getLogger()) {
            foreach ($messages as $message) {
                $this->getLogger()->info($this->getFormatter()->format(strip_tags($message)));
            }
        }

        parent::write($messages, $newline, $type);
    }
public function write ( $ message , $ newline = false , $ type = 0 ) { $ messages = ( array ) $ message ; if ( $ this -> getLogger ( ) ) { foreach ( $ messages as $ message ) { $ this -> getLogger ( ) -> info ( $ this -> getFormatter ( ) -> format ( strip_tags ( $ message ) ) ) ; } } parent :: write ( $ messages , $ newline , $ type ) ; }
Write an entry to the console and to the provided logger.

@param array|string $message
@param bool         $newline
@param int          $type

@return void
Write an entry to the console and to the provided logger .