public function findWhereIn(array $parameters)
    {
        $q = $this->getQuery();

        foreach ($parameters as $name => $value) {
            $q->whereIn($name, $value);
        }

        return $q->get();
    }
public function findWhereIn(array $parameters)
    {
        $q = $this->getQuery();

        foreach ($parameters as $name => $value) {
            $q->whereIn($name, $value);
        }

        return $q->get();
    }
public function findWhereIn ( array $ parameters ) { $ q = $ this -> getQuery ( ) ; foreach ( $ parameters as $ name => $ value ) { $ q -> whereIn ( $ name , $ value ) ; } return $ q -> get ( ) ; }
Find where in.

@param array $parameters

@return \Illuminate\Support\Collection
Find where in .