The PaginatorComponent doesn't have any events and is often lazily loaded inside Controller::paginate(). Normally we could use the initialize() or beforeFilter() callbacks in this situations, but that's not possible here. One option is to continue holding a reference of the controller instead, and access the request property later.