Skip to content

Commit

Permalink
Add pagination method changes to upgrade.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehayesuk committed Mar 22, 2015
1 parent 19efc76 commit c3b25fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,10 @@ If your application code was injecting `Illuminate\Cache\CacheManager` to get a

Replace any calls to `$paginator->links()` with `$paginator->render()`.

Replace any calls to `$paginator->getFrom()` and `$paginator->getTo()` with `$paginator->firstItem()` and `$paginator->lastItem()` respectively.

Remove the "get" prefix from calls to `$paginator->getPerPage()`, `$paginator->getCurrentPage()`, `$paginator->getLastPage()` and `$paginator->getTotal()` (e.g. `$paginator->perPage()`).

### Beanstalk Queuing

Laravel 5.0 now requires `"pda/pheanstalk": "~3.0"` instead of `"pda/pheanstalk": "~2.1"`.
Expand Down

0 comments on commit c3b25fc

Please sign in to comment.