htmlAttributes([ 'class' => array_merge(['page-item'], $this->liClasses ?? []), ]); $aAttrs = $this->htmlAttributes([ 'class' => 'page-link', 'aria-label' => $this->label, 'href' => null !== $this->results ? $this->results->getUrlQuery()->setPage($this->page)->getParams(false) : $this->currentPath() . '?' . http_build_query(array_merge($this->params ?? [], ['page' => $this->page])), ]); if ($this->page === $this->current) { $liAttrs->add('class', 'active'); $liAttrs['aria-current'] = 'page'; } ?> > >