I am very new in Zend Fw 3. I followed https://docs.zendframework.com/tutorials/ I added the controller config in module.php
public function getControllerConfig(){
return[
'factories' = >[
Controller\DocumentController::class = > function($container) {
return new Controller\DocumentController(
$container->get(Model\DocumentTable::class)
);
},
],
];
}
By running this, I faced this error: