PHP Fatal error: Call to undefined method Zend\Console\Response::setStatusCode() in /data/www/che-app/vendor/digitaledgeit/zf2-authorisation-module/src/DeitAuthorisationModule/View/ViewStrategy.php
The problem seems to be that zftool is a) executing all sorts of code and b) in a CLI environment which means this method is seeing a Zend\Console\Response object, instead of its usual Zend\Http\Response
Maybe there's some sort of error, violation or smell in my design? Or is this a zftool bug?
I ran zftool config list on my app and got this:
PHP Fatal error: Call to undefined method Zend\Console\Response::setStatusCode() in /data/www/che-app/vendor/digitaledgeit/zf2-authorisation-module/src/DeitAuthorisationModule/View/ViewStrategy.php
The problem seems to be that zftool is a) executing all sorts of code and b) in a CLI environment which means this method is seeing a Zend\Console\Response object, instead of its usual Zend\Http\Response
Maybe there's some sort of error, violation or smell in my design? Or is this a zftool bug?