public static function make(array $items, $total, $perPage = 15, $pageName = 'page', $page = null)
    {
        if (is_null($page)) {
            $page = static::resolveCurrentPage($pageName);
        }

        $path = static::resolveCurrentPath($pageName);

        return new static($items, $total, $perPage, $page, compact('path', 'pageName'));
    }