Quando eu executei o comando para criar um módulo, ocorreu o seguinte erro:
PHP Deprecated: You are retrieving the service locator from within the class ZFTool\Controller\CreateController. Please be aware that ServiceLocatorAwareInterface is deprecated and will be removed in version 3.0, along with the ServiceLocatorAwareInitializer. You will need to update your class to accept all dependencies at creation, either via constructor arguments or setters, and use a factory to perform the injections. in /home/felipeas/Documentos/Códigos/PHP/estoque/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php on line 258
The path . doesn't contain a ZF2 application. I cannot create a module here.