public function flush() { if (method_exists($this->consumer, 'flush')) { return $this->consumer->flush(); } return true; }