public function findBy(array $attributes) { $query = $this->buildLdapQuery()->where($attributes)->getLdapQuery(); return $this->hydrationMode ? $query->execute($this->hydrationMode) : $query->execute(); }