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

JamborJan picture JamborJan  路  3Comments

jackmu95 picture jackmu95  路  3Comments

ghost picture ghost  路  3Comments

RomainSauvaire picture RomainSauvaire  路  3Comments

lzp819739483 picture lzp819739483  路  3Comments