src/Util/Output.php
public function add($key, $writer)
    {
        $this->writers[$key] = $this->resolve(Helper::toArray($writer));

        return $this;
    }
public function add($key, $writer)
    {
        $this->writers[$key] = $this->resolve(Helper::toArray($writer));

        return $this;
    }
public function add ( $ key , $ writer ) { $ this -> writers [ $ key ] = $ this -> resolve ( Helper :: toArray ( $ writer ) ) ; return $ this ; }
Add a writer to the available writers

@param string $key
@param WriterInterface|array $writer

@return \League\CLImate\Util\Output
Add a writer to the available writers