protected function bindPageResolver(): void
    {
        /** Override the current page resolution */
        AbstractPaginator::currentPageResolver(function ($pageName) {
            $pagination = app(EncodingParametersInterface::class)->getPaginationParameters() ?: [];

            return $pagination[$pageName] ?? null;
        });
    }