public function getPathMapping($repositoryPath, $moduleName)
{
Assert::string($repositoryPath, 'The repository path must be a string. Got: %s');
Assert::string($moduleName, 'The module name must be a string. Got: %s');
$this->assertMappingsLoaded();
if (!$this->mappings->contains($repositoryPath, $moduleName)) {
throw NoSuchPathMappingException::forRepositoryPathAndModule($repositoryPath, $moduleName);
}
return $this->mappings->get($repositoryPath, $moduleName);
}