public function __construct(Builder $query, array $filter) { $this->query = $query; $this->filter = $filter; }