Returns a range of records bounded by pagination parameters.
public page ( $limit = 10, integer $offset, array $relations = [], $orderBy = 'updated_at', $sorting = 'desc' ) : Illuminate\Database\Eloquent\Collection |
$offset |
integer |
|
$relations |
array |
|
리턴 |
Illuminate\Database\Eloquent\Collection |
|