code: public function destinationsFor(string $filePath): array
      {
          $filePath = Path::canonicalize($filePath);
          $source = $this->matchingSource($filePath);
  
          return $this->resolveDestinations($filePath, $source);
      }
docs: Return a hash map of destination names to paths representing
  paths which relate to the given file path.
  
  @throws NoMatchingSourceException