public function isFollowList(OW_Event $e) { $params = $e->getParams(); $this->validateParams($params, array('feedList', 'userId')); $result = $this->service->isFollowList($params['userId'], $params['feedList']); $e->setData($result); return $result; }