/** * Check if sheet is selected. * * @param $index * * @return bool */ protected function isSelected($index) { $sheets = $this->settings->getSheetIndices(); return empty($sheets) || in_array($index, $sheets); }
/** * Check if sheet is selected. * * @param $index * * @return bool */ protected function isSelected($index) { $sheets = $this->settings->getSheetIndices(); return empty($sheets) || in_array($index, $sheets); }