praiseId; } public function requestRules() { return [ ['praiseId', 'praise_id', 'bail|integer', Constants::INTEGER, null], ]; } public function responseRules() { return [ ['result', 'result', 'bail', null, null], ]; } public function setResponse($result) { $this->result = $result; } }