【发布时间】:2013-09-28 14:47:33
【问题描述】:
我是 Symfony 的新手。我正在运行 Windows 并使用 xammp 来学习 Symfony 2。我将如何运行以下命令?我似乎遇到了一个错误,不知道如何成功运行这些命令。我很感激任何建议。我必须使用 CMD 为 Symfony2 创建一个包吗?有没有更简单的方法来生成捆绑包?
$ php app/console generate:bundle --namespace=Blogger/BlogBundle --format=yml
【问题讨论】:
-
I seem to be getting an error。您要么收到错误,要么没有。如果你是什么? -
另外,如果您在 CLI 中输入
php app/console会发生什么? -
感谢您的回复。这是错误:
The filename, directory name, or volume label syntax is incorrect. -
我的第二条评论的答案是什么?
-
ok
php app/console generate:bundle --namespace=Blogger/BlogBundle现在应该适合你了