1

I know in zf1 we can use command line to create action like below: zf create action

But in Zend 2, I can't find a command line which can create a new action. Is that removed, or maybe a new command can do this? thanks.

Hong
  • 11
  • 2

1 Answers1

1

The "new" ZFTool in ZF2

http://framework.zend.com/manual/2.1/en/modules/zendtool.introduction.html

What should be the benefit of "create action"? It's just a function and a view script. So, simply create it.

Dennis D.
  • 96
  • 3
  • I see, but I always use zf tool commandline in ZF1 to create action/module/controller... It's very convenient – Hong Sep 10 '13 at 02:00
  • Of course it is (was). Maybe they improve "ZF2Tool" in future. In the very early releases there wasn't any cli for ZF2. – Dennis D. Sep 10 '13 at 05:48