处理异常时引发的异常
(Symfony \ Component \ Config \ Exception \ FileLoaderLoadException: [语义错误]方法中的注释“ @Roote” App \ Controller \ BlogController :: show()从未导入。 Did you maybe forget to add a "use" statement for this annotation? in C:\ Users \ younes \ Desktop \ demo \ config / routes ../../ src / Controller / (这是从 “ C:\ Users \ younes \ Desktop \ demo \ config / routes / annotations.yaml”)。使 确保已安装并启用注释。)
答案 0 :(得分:1)
更改注释:
@Roote
收件人:
@Route