src/mako/cli/output/Output.php
public function getWriter(int $writer = Output::STANDARD): WriterInterface
	{
		return ($writer === static::STANDARD) ? $this->standard : $this->error;
	}
public function getWriter(int $writer = Output::STANDARD): WriterInterface
	{
		return ($writer === static::STANDARD) ? $this->standard : $this->error;
	}
public function getWriter ( int $ writer = Output :: STANDARD ) : WriterInterface { return ( $ writer === static :: STANDARD ) ? $ this -> standard : $ this -> error ; }
Returns the chosen writer.

@param  int                                     $writer Writer
@return \mako\cli\output\writer\WriterInterface
Returns the chosen writer .