private assertFileExists ( $absolutePath, $relativePath, Puli\Manager\Api\Module\Module $containingModule ) | ||
$containingModule | Puli\Manager\Api\Module\Module |
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()));
}
}