public function getPathMapping($repositoryPath) { if (!isset($this->pathMappings[$repositoryPath])) { throw NoSuchPathMappingException::forRepositoryPath($repositoryPath); } return $this->pathMappings[$repositoryPath]; }