Just came by this code in Laravel Paginator.php today
$this->hasMore = $this->items->count() > $this->perPage;
I'm familiar with -> and > but not sure how this bigger than fits after an = . this is the full function :
protected function setItems($items)
{
$this->items = $items instanceof Collection ? $items : Collection::make($items);
$this->hasMore = $this->items->count() > $this->perPage;
$this->items = $this->items->slice(0, $this->perPage);
}