function setOutput(Output $output) { Validation::notEmpty($output, 'output'); $this->output = $output; return $this; }