lib/PathFinder.php
public function destinationsFor(string $filePath): array
    {
        $filePath = Path::canonicalize($filePath);
        $source = $this->matchingSource($filePath);

        return $this->resolveDestinations($filePath, $source);
    }
public function destinationsFor(string $filePath): array
    {
        $filePath = Path::canonicalize($filePath);
        $source = $this->matchingSource($filePath);

        return $this->resolveDestinations($filePath, $source);
    }
Return a hash map of destination names to paths representing
paths which relate to the given file path.

@throws NoMatchingSourceException