private function assertFileExists($absolutePath, $relativePath, Module $containingModule) { if (!file_exists($absolutePath)) { throw new FileNotFoundException(sprintf('The path %s mapped to %s by module "%s" does not exist.', $relativePath, $this->repositoryPath, $containingModule->getName())); } }