laravel/framework — pull request #883 by KaneCohen (2013-04-10 17:14:50+00:00)
Title: Access Paginator Environment via public Paginator method

Access Paginator Environment object via `Paginator::getEnvironment()` method. Useful when one wants to set variables such as currentPage, baseUrl, pageName etc. via Paginator itself.