/** * Helper function to run the filter with a given configuration. * * @param array $config The filter configuration. * @param array $request The request state. * @return array The state array after processing. */ private function processFilter(array $config, array $request) { $filter = new \sspmod_consent_Auth_Process_Consent($config, null); $filter->process($request); return $request; }