public function output($message = '', $stream = null) { if ($stream === null) { $stream = STDOUT; } fwrite($stream, $message); return $this; }