public function __construct(QueryBuilder $query) { parent::__construct($query); }
/** * Create a new Eloquent query builder instance. * * @param \Illuminate\Database\Query\Builder $query * @param string $pageVariable * @return void */ public function __construct(OriginalQueryBuilder $query, $pageVariable = 'page') { parent::__construct($query); $this->pageVariable = $pageVariable; }
/** * Create a new Eloquent query builder instance. * * @param \Illuminate\Database\Query\Builder $query * @param SectionInterface $section * * @return void */ public function __construct(QueryBuilder $query, SectionInterface $section) { parent::__construct($query); $this->section = $section; }