argument('uid'); $password = $this->argument('password'); $passwordConfirmation = $this->argument('password_confirmation'); $log = "uid: $uid, password: $password, passwordConfirmation: $passwordConfirmation"; $this->info($log); do_log($log); $rep = new UserRepository(); $result = $rep->resetPassword($uid, $password, $passwordConfirmation); $log = sprintf('[%s], %s, result: %s', nexus()->getRequestId(), __METHOD__, var_export($result, true)); $this->info($log); do_log($log); } }