public function setOutputWriter(writer $writer = null) { $this->outputWriter = $writer ?: new writers\std\out($this->cli); return $this; }