/** * Performs a global 'all' search query on the current * connection by performing a search for all entries * that contain a common name attribute. * * @return array|bool */ public function all() { return $this->query->whereHas($this->schema->commonName())->get(); }