public function capture() { if ($this->options['captureOutput']) { $this->redirectStdout(); $this->redirectStderr(); } }