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