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.