/** * Add scope constraints before running select * * @return array */ protected function runSelect() { event(new QuerySelect($this)); return parent::runSelect(); }
/** * Run the query as a "select" statement against the connection. * * @return array */ protected function runSelect() { return $this->handler->setBuilder($this)->cacheQuery(function () { return parent::runSelect(); }); }