/** * Loads errors into the session for the redirect * * @return void * @author Dan Cox */ public function withErrors($errors) { Session::set('errors', $errors); return $this; }
/** * Save - saves the old input to the session * * @return void * @author Dan Cox */ public static function save() { Session::set('Input', self::all(), true); }