protected function init() { parent::init(); $this->paginator = $this->toLazy()->getPaginator(); $this->pages = $this->toLazy()->getPages(); }