您是否忘记为此注释添加 "use" 语句?
Did you maybe forget to add a "use" statement for this annotation?
处理异常时抛出异常
(Symfony\Component\Config\Exception\FileLoaderLoadException:
[Semantical Error] The annotation "@Roote" in method
App\Controller\BlogController::show() was never imported. Did you
maybe forget to add a "use" statement for this annotation? in
C:\Users\younes\Desktop\demo\config/routes../../src/Controller/
(which is being imported from
"C:\Users\younes\Desktop\demo\config/routes/annotations.yaml"). Make
sure annotations are installed and enabled.)
the image link down
更改注释:
@Roote
收件人:
@Route
处理异常时抛出异常
(Symfony\Component\Config\Exception\FileLoaderLoadException: [Semantical Error] The annotation "@Roote" in method App\Controller\BlogController::show() was never imported. Did you maybe forget to add a "use" statement for this annotation? in C:\Users\younes\Desktop\demo\config/routes../../src/Controller/ (which is being imported from "C:\Users\younes\Desktop\demo\config/routes/annotations.yaml"). Make sure annotations are installed and enabled.)
the image link down
更改注释:
@Roote
收件人:
@Route