Framework: intersect method on the $request object doesn't work laravel 5.5

Created on 24 Sep 2017  路  2Comments  路  Source: laravel/framework

  • Laravel Version: 5..5.*
  • PHP Version:
  • Database Driver & Version:

Description:

intersect method on the $request object doesn't work laravel 5.5???
it's was work with 5.4, now not ,what happens?
example
protected function getFilters(){

   return $this->request->intersect($this->filters);
 }

Steps To Reproduce:

Most helpful comment

OK, I solved it,
before
protected function getFilters(){
return $this->request->intersect($this->filters);
}
after
protected function getFilters(){
return $this->request->only($this->filters);
}
now it;s work

All 2 comments

OK, I solved it,
before
protected function getFilters(){
return $this->request->intersect($this->filters);
}
after
protected function getFilters(){
return $this->request->only($this->filters);
}
now it;s work

This is a good solution

Was this page helpful?
0 / 5 - 0 ratings

Related issues

RomainSauvaire picture RomainSauvaire  路  3Comments

Anahkiasen picture Anahkiasen  路  3Comments

gabriellimo picture gabriellimo  路  3Comments

SachinAgarwal1337 picture SachinAgarwal1337  路  3Comments

YannPl picture YannPl  路  3Comments