<div>官网有学习手册,戳这里:<a href="https://docs.zendframework.com/tutorials" target="_blank">https://docs.zendframework.com/tutorials</a></div><div><br></div><p>router配置这节,由于疏忽报错如下:</p><pre>The requested controller could not be mapped to an existing controller class.<br></pre><p>原因及解决方法:</p><p>module配置里没有把controllers里对应的配置加上。</p><pre> 'controllers' => [<br> 'factories' => [<br> Controller\AlbumController::class => InvokableFactory::class,<br> ],<br> ],<br></pre><p><br></p>