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