work = $work; } public function send($msg) { $request = $this->work->transformForJsonRequest('message/send', $msg->toArray()); return $this->work->request($request); } }