Below is a table of all of the providers shipped with Zend Tool Project.
表 55.2. Project Provider Options
Provider Name | Available Actions | Parameters | CLI Usage |
---|---|---|---|
Controller | Create | create - [name, indexActionIncluded=true] | zf create controller foo |
Action | Create | create - [name, controllerName=index, viewIncluded=true] | zf create action bar foo (OR zf create action --name bar --controlller-name=foo) |
Controller | Create | create - [name, indexActionIncluded=true] | zf create controller foo |
Profile | Show | show - [] | zf show profile |
View | Create | create - [controllerName,actionNameOrSimpleName] | zf create view foo bar (or zf create view -c foo -a bar) |
Test | Create Enable Disable | create - [libraryClassName] | zf create test My_Foo_Baz zf disable test zf enable test |