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