MarvinLabs\SetupWizard\Controllers\WizardController::submitStep PHP Метод

submitStep() публичный Метод

Submit the wizard step currently shown with the specified action (next/back)
public submitStep ( Illuminate\Http\Request $request ) : Illuminate\Http\Response
$request Illuminate\Http\Request
Результат Illuminate\Http\Response
    public function submitStep(Request $request)
    {
        if ($request->has('wizard-action-next')) {
            return $this->nextStep($request);
        }
        if ($request->has('wizard-action-back')) {
            return $this->previousStep($request);
        }
        throw new \RuntimeException('Unknown wizard action');
    }