在我模块的module.config.php,我有这样的事情: namespace Application;
return [
//...
// myroute1 will route to IndexController fooAction if the route is matching '/index/foo' but regardless of request me
在我的IndexController的indexAction,我想抛出和捕获异常,然后在catch块,我想要做的事,像这样: namespace Application\Controller;
use Zend\Mvc\Controller\AbstractActionController;
class IndexController extends AbstractActionContr