public function end() { if ($this->isEnabled) { $this->resetPagingControl(); $this->cookie = null; $this->resultNumber = 0; } }