debug($message); $this->output[] = $message; } /** * Helper method to return the debug output as string. * * @return string */ public function output() { return implode('', $this->output); } }