src/Potter/Utils/Paginator.php
protected function _item($class, $link)
    {
        $before = sprintf($this->before_link, $class);
        $after  = $this->after_link;
        $item   = $before . $link . $after;

        $this->addToElement($item);

        return $this;
    }
protected function _item($class, $link)
    {
        $before = sprintf($this->before_link, $class);
        $after  = $this->after_link;
        $item   = $before . $link . $after;

        $this->addToElement($item);

        return $this;
    }
@param string $class
@param string $link

@return $this