A
A
Alexander Koregin2020-07-30 14:12:41
Laravel
Alexander Koregin, 2020-07-30 14:12:41

How to access an element in Laravel?

5f22aae60cbb1652927892.png

The hasMore element is part of the pagination, is it possible to refer to this element somehow?

@dump($posts)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2020-07-30
@dragonika8

$posts->hasMorePages();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question