コード例 #1
0
 /**
  * Flash an array of input to the session.
  *
  * @param  array  $input
  * @return $this
  */
 public function withInput(array $input = null)
 {
     $input = $input ?: $this->request->input();
     $this->session->flashInput($data = array_filter($input, $callback = function (&$value) use(&$callback) {
         if (is_array($value)) {
             $value = array_filter($value, $callback);
         }
         return !$value instanceof UploadedFile;
     }));
     return $this;
 }
コード例 #2
0
 /**
  * Flash an array of input to the session.
  *
  * @param  array  $input
  * @return $this
  */
 public function withInput(array $input = null)
 {
     $input = $input ?: $this->request->input();
     $this->session->flashInput(array_filter($input, function ($value) {
         return !$value instanceof UploadedFile;
     }));
     return $this;
 }
コード例 #3
0
ファイル: _ide_helper.php プロジェクト: satriashp/tour
 /**
  * Flash an input array to the session.
  *
  * @param array $value
  * @return void 
  * @static 
  */
 public static function flashInput($value)
 {
     \Illuminate\Session\Store::flashInput($value);
 }
コード例 #4
0
 /**
  * Flash an array of input to the session.
  *
  * @param  array  $input
  * @return $this
  */
 public function withInput(array $input = null)
 {
     $input = $input ?: $this->request->input();
     $this->session->flashInput($this->removeFilesFromInput($input));
     return $this;
 }
コード例 #5
0
ファイル: RedirectResponse.php プロジェクト: fluxbb/core
 public function withInput()
 {
     $this->session->flashInput($this->input);
     return $this;
 }