public function getRowHeight($index) { if (false === filter_var($index, FILTER_VALIDATE_INT)) { throw new \InvalidArgumentException("Index must be numeric"); } return $this->phpExcelWorksheet->getRowDimension($index)->getRowHeight(); }