When i create a new action with "-" on the name, ZfTool createas a method name with "-", and this raise a sintax error on PHP. How to proceed: zf create action my-action Controller Module Create: class Controller public function my-actionAction() { //raise a sintaxError - Unexpected '-' } On: ZFTool - Zend Framework 2 command line Tool The application in this folder is using Zend Framework 2.3.3
When i create a new action with "-" on the name, ZfTool createas a method name with "-", and this raise a sintax error on PHP.
How to proceed:
zf create action my-action Controller Module
Create:
class Controller
public function my-actionAction() { //raise a sintaxError - Unexpected '-'
}
On:
ZFTool - Zend Framework 2 command line Tool
The application in this folder is using Zend Framework 2.3.3