think\Paginator::make PHP Method

make() public static method

public static make ( $items, $listRows, null $currentPage = null, null $total = null, boolean $simple = false, array $options = [] ) : Collection
$items
$listRows
$currentPage null
$total null
$simple boolean
$options array
return think\paginator\Collection
    public static function make($items, $listRows, $currentPage = null, $total = null, $simple = false, $options = [])
    {
        $paginator = new static($items, $listRows, $currentPage, $total, $simple, $options);
        return $paginator->items;
    }