keyword; } public function requestRules() { return [ ['keyword', 'keyword', 'bail|string', Constants::STRING, null], ]; } public function responseRules() { return [ ['result', 'result', 'bail', null, null], ]; } public function setResponse($result) { $this->result = $result; } }