src/DataProvider/Pagination.php
private function getParameterFromContext(array $context, string $parameterName, $default = null)
    {
        $filters = $context['filters'] ?? [];

        return \array_key_exists($parameterName, $filters) ? $filters[$parameterName] : $default;
    }
private function getParameterFromContext(array $context, string $parameterName, $default = null)
    {
        $filters = $context['filters'] ?? [];

        return \array_key_exists($parameterName, $filters) ? $filters[$parameterName] : $default;
    }
private function getParameterFromContext ( array $ context , string $ parameterName , $ default = null ) { $ filters = $ context [ 'filters' ] ?? [ ] ; return \ array_key_exists ( $ parameterName , $ filters ) ? $ filters [ $ parameterName ] : $ default ; }
Gets the given pagination parameter name from the given context.

@param mixed|null $default
Gets the given pagination parameter name from the given context .