Open visto9259 opened 5 years ago
Please run composer cs-fix
, and then commit the results - that's the only failing issue currently.
Also, please add some information to the README.md
file regarding the interface, so users know about it.
Thanks!
First time submitting a pull request on a public package and obviously first time for zfcampus packages. I thought it had gone through travis without issues. Let me fix it.
This is simply to add an interface definition to faciliate the creation of route handlers.
I have been using this for a while now and works fine in editor like phpStorm and Zend Studio. The editors will add the
__invoke( Route $route, AdapterInterface $console)
automatically.It also helps enforce the proper function definition.
Usage:
}