Use Pagination Object to parse all parameters

Use Pagination Object instead parse all parameters individually

Eg:

// Pagination
$pagination = $this->pagination->create('my.partials.pagination', Article::count());

// ORM
$articles = Article::paginate($pagination)->all();