src/Viserio/Component/Pagination/Presenter/SemanticUi.php
private function getPaginationsLinks(array $items, $pagination): void
    {
        foreach ($items as $item) {
            if (\is_string($item)) {
                $pagination .= '<a class="icon item disabled">' . $item . '</a>';
            }

            // Array Of Links
            if (\is_array($item)) {
                foreach ($item as $page => $url) {
                    if ($this->paginator->getCurrentPage() === $page) {
                        $pagination .= '<a class="item active">' . $page . '</a>';
                    } else {
                        $pagination .= '<a class="item" href="' . $url . '">' . $page . '</a>';
                    }
                }
            }
        }
    }
private function getPaginationsLinks(array $items, $pagination): void
    {
        foreach ($items as $item) {
            if (\is_string($item)) {
                $pagination .= '<a class="icon item disabled">' . $item . '</a>';
            }

            // Array Of Links
            if (\is_array($item)) {
                foreach ($item as $page => $url) {
                    if ($this->paginator->getCurrentPage() === $page) {
                        $pagination .= '<a class="item active">' . $page . '</a>';
                    } else {
                        $pagination .= '<a class="item" href="' . $url . '">' . $page . '</a>';
                    }
                }
            }
        }
    }
Get all paginations page links.

@param array  $items
@param string $pagination