コード例 #1
0
ファイル: Redirect.php プロジェクト: Danzabar/schedules
 /**
  * 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
ファイル: Input.php プロジェクト: Danzabar/schedules
 /**
  * Save - saves the old input to the session
  *
  * @return void
  * @author Dan Cox
  */
 public static function save()
 {
     Session::set('Input', self::all(), true);
 }