LengthAwarePaginator::getCollection()

Collection getCollection() Get the paginator's underlying collection. Return Value Collection

LengthAwarePaginator::fragment()

$this|string|null fragment(string|null $fragment = null) Get / set the URL fragment to be appended to URLs. Parameters string|null $fragment Return Value $this|string|null

LengthAwarePaginator::fragment()

$this|string fragment(string|null $fragment = null) Get / set the URL fragment to be appended to URLs. Parameters string|null $fragment Return Value $this|string

LengthAwarePaginator::firstItem()

int firstItem() Get the number of the first item in the slice. Return Value int

LengthAwarePaginator::firstItem()

int firstItem() Get the "index" of the first item being paginated. Return Value int

LengthAwarePaginator::defaultView()

static void defaultView(string $view) Set the default pagination view. Parameters string $view Return Value void

LengthAwarePaginator::defaultSimpleView()

static void defaultSimpleView(string $view) Set the default "simple" pagination view. Parameters string $view Return Value void

LengthAwarePaginator::currentPathResolver()

static void currentPathResolver(Closure $resolver) Set the current request path resolver callback. Parameters Closure $resolver Return Value void

LengthAwarePaginator::currentPageResolver()

static void currentPageResolver(Closure $resolver) Set the current page resolver callback. Parameters Closure $resolver Return Value void

LengthAwarePaginator::currentPage()

int currentPage() Get the current page. Return Value int