public function __construct(array $attributes, Builder $builder) { $this->setQuery($builder)->setSchema($builder->getSchema())->fill($attributes); }