questionId; } /** * @return string */ public function getContent() { return $this->content; } public function requestRules() { return [ ['questionId', 'question_id', 'bail|integer', Constants::INTEGER, null], ['content', 'content', 'bail|string', Constants::STRING, null], ]; } public function responseRules() { return [ ['result', 'result', 'bail', null, null], ]; } public function setResponse($result) { $this->result = $result; } }