lbs = new \App\Services\Vendor\LbsService(); } public function geo(GeoMessage $message) { $parameters = $message->getParameters(); $data = $this->lbs->geocode($parameters); $message->setResponse($data); } public function regeo(RegeoMessage $message) { $parameters = $message->getParameters(); $data = $this->lbs->reGeocode($parameters); $message->setResponse($data); } public function ip(IpMessage $message) { $parameters = $message->getParameters(); $data = $this->lbs->ip($parameters); $message->setResponse($data); } public function district(DistrictMessage $message) { $parameters = $message->getParameters(); $data = $this->lbs->district($parameters); $message->setResponse($data); } }