Constructor.
string $file The mapping file to load:
MappingException if the mapping file does not exist
MappingException if the mapping file is not readable
public function __construct($file) {
if (!is_file($file)) {
throw new MappingException(sprintf('The mapping file %s does not exist', $file));
}
if (!is_readable($file)) {
throw new MappingException(sprintf('The mapping file %s is not readable', $file));
}
$this->file = $file;
}