zend-mvc
zend-mvc copied to clipboard
support zend-stratigility 3?
originally i submitted issue at ZendSkeletonApplication repo https://github.com/zendframework/ZendSkeletonApplication/issues/433 , which seems should be here
When I tried to use middleware in zend-mvc 3, it require to install zend-stratigility as it seems it no longer required, so I add the zend-stratigility to require with command:
composer require zendframework/zend-stratigility
and it installed the zend-stratigility 3. After it installed, I got the following error:
( ! ) Fatal error: Uncaught Error: Call to undefined method Zend\Stratigility\MiddlewarePipe::setResponsePrototype() in /Users/samsonasik/www/zf-mvc3/vendor/zendframework/zend-mvc/src/MiddlewareListener.php on line 134
( ! ) Error: Call to undefined method Zend\Stratigility\MiddlewarePipe::setResponsePrototype() in /Users/samsonasik/www/zf-mvc3/vendor/zendframework/zend-mvc/src/MiddlewareListener.php on line 134
So, I downgraded the version to v2 with command:
composer require zendframework/zend-stratigility:^2.0
And it works.
How about support zend-stratigility v3 as well?
Related to #259
Should be resolved as part of #308
This repository has been closed and moved to laminas/laminas-mvc; a new issue has been opened at https://github.com/laminas/laminas-mvc/issues/13.