public function visit(ClassReflection $class) { $filePath = $this->remoteRepository->getRelativePath($class->getFile()); if ('' !== $filePath) { $class->setRelativeFilePath($filePath); return true; } return false; }