It is necessary to specify the limit of items to show per page ($class->limit(10))