In spite of many attempts, I could not find the answer in the documentation.
This way:
echo $this->router->getModuleName();
https://docs.phalcon.io/en/latest/api/Phalcon_Mvc_Router.html#methods
I wrote "access module", not "module name". I walked around the problem by registering service in module by DI.