/** * 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(); }
/** * Performs a global 'all' search query on the * current connection. * * @return array|bool */ public function all() { return $this->query->whereHas(ActiveDirectory::COMMON_NAME)->get(); }