/** * Return the output from the buffer io, if any is set. * * @return string|null */ protected function getOutput() { if ($this->inputOutput instanceof BufferIO) { return $this->inputOutput->getOutput(); } return null; }