Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

zf create Action with "-" on action name #99

Open
webjoaoneto opened this issue Sep 19, 2014 · 0 comments
Open

zf create Action with "-" on action name #99

webjoaoneto opened this issue Sep 19, 2014 · 0 comments

Comments

@webjoaoneto
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant