private function checkIndexParameter($index)
{
if (false === filter_var($index, FILTER_VALIDATE_INT)) {
throw new \InvalidArgumentException("The index must be numeric");
}
if (!array_key_exists($index, $this->sheetCollection)) {
throw new \RuntimeException("The index of this sheet doesn't exist");
}
}