/** * Check for the limit * @return boolean */ protected function hasReachedLimit() { // Get skip $limit = $this->reader->getLimit(); // If we have a limit, check if we hit this limit return $limit && $this->currentRow > $limit ? true : false; }