Learner\Http\Controllers\BaseController::redirectBackWithErrors PHP Method

redirectBackWithErrors() protected method

Redirect to back with errors.
protected redirectBackWithErrors ( array $errors = null ) : Illuminate\Http\RedirectResponse
$errors array
return Illuminate\Http\RedirectResponse
    protected function redirectBackWithErrors($errors = null)
    {
        return redirect()->back()->withInput()->withErrors($errors);
    }