gpt4 book ai didi

php - Zend_Tool 移除 Controller / Action

转载 作者:塔克拉玛干 更新时间:2023-11-03 05:39:53 24 4
gpt4 key购买 nike

我用 Zend_Tool 制作了一个 Controller ,但现在我想删除该 Controller 。我知道我可以删除该文件,但我想知道是否有一种方法可以使用 Zend_Tool 执行此操作,因此我不需要自己编辑 .zfproject.xml。

谢谢!

最佳答案

您必须手动删除它。

This functionality is slated for 1.10. It was left out of the 1.8 and 1.9 release for a couple of good reasons. Since deleting is a pretty irreversible action, and sometimes is also a recursive action- we wanted to ensure that the console/cli interface at least had the capability to ask the user if deleting is OK, in other words confirming the decision to delete something. This way, people will not accidentally delete things they will not be able to recover.

-ralph

这是 1.10 中的帖子,但现在是 1.11 中,您仍然需要手动执行!

关于php - Zend_Tool 移除 Controller / Action ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5390058/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com