public function findManyBy($attribute, array $values = [], $columns = [])
    {
        $query = $this->select($columns);

        foreach ($values as $value) {
            $query->orWhere([$attribute => $value]);
        }

        return $query->get();
    }
public function findManyBy($attribute, array $values = [], $columns = [])
    {
        $query = $this->select($columns);

        foreach ($values as $value) {
            $query->orWhere([$attribute => $value]);
        }

        return $query->get();
    }
public function findManyBy ( $ attribute , array $ values = [ ] , $ columns = [ ] ) { $ query = $ this -> select ( $ columns ) ; foreach ( $ values as $ value ) { $ query -> orWhere ( [ $ attribute => $ value ] ) ; } return $ query -> get ( ) ; }
Finds many records by the specified attribute.

@param string $attribute
@param array  $values
@param array  $columns

@return \Adldap\Query\Collection|array
Finds many records by the specified attribute .