src/Output.php
public function write($message, $params = [])
    {
        $options = $this->getMergedWriteParams($params);

        echo $this->getMessagePrefix($options)
            , $this->getDecoratedMessage($message, $options)
            , $this->getReset();

        return $this;
    }
public function write($message, $params = [])
    {
        $options = $this->getMergedWriteParams($params);

        echo $this->getMessagePrefix($options)
            , $this->getDecoratedMessage($message, $options)
            , $this->getReset();

        return $this;
    }
public function write ( $ message , $ params = [ ] ) { $ options = $ this -> getMergedWriteParams ( $ params ) ; echo $ this -> getMessagePrefix ( $ options ) , $ this -> getDecoratedMessage ( $ message , $ options ) , $ this -> getReset ( ) ; return $ this ; }
writes a messge to the output

@param string $message The message to write.
@param array  $params Array of parameters for writing.

@return \PhpCli\Output Return $this for object-chaining.
writes a messge to the output