Functionnal eid example with typo3 V10

Hi,
I would like to migrate a typo3 extension with eid included from typo3 V9 to V10.
I can’t find an example which is working.

My method is well registered in ext_localconf.php with
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['tx_ng6'] =\ng6\Controller\NG6::class . '::processRequest';

I can access it calling the url : https://URL.fr/index.php?eID=tx_nG6

if my method signature is :
public function processRequest(ServerRequestInterface $request, ResponseInterface $response)

is does not work, cf following log

Mon, 04 Oct 2021 13:23:47 +0000 [CRITICAL] request=“032217faaeb77” component=“TYPO3.CMS.Core.Error.ProductionExceptionHandler”: Core: Exception handler (WEB): Uncaught TYPO3 Exception: Too few arguments to function ng6\Controller\NG6::processRequest(), 1 passed and exactly 2 expected | ArgumentCountError thrown in file /var/www/html/ng6/typo3conf/ext/nG6/Classes/Controller/ng6.php in line 32. Requested URL: [https://URL.fr/index.php](https://URL.fr/index.php?eID=tx_tutorial_comment - {“TYPO3_MODE”:“FE”,“exception”:{}}

if my method signature is :
public function processRequest(ServerRequestInterface $request)
which seems to be the right one for typo3 v10…I don’t know how to create and return the response…
searchnig on the web didn’t help…

Thank you for your help…
Gérald