protected function getReferencesForPath($path) { // Stop on first result and flatten return $this->flatten($this->searchReferences($path, self::STOP_ON_FIRST)); }