Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LaminasEmitterMiddleware not available in the middleware #29

Closed
dewelopinweb opened this issue Jun 14, 2021 · 1 comment
Closed

LaminasEmitterMiddleware not available in the middleware #29

dewelopinweb opened this issue Jun 14, 2021 · 1 comment

Comments

@dewelopinweb
Copy link

LaminasEmitterMiddleware not available in the middleware.
Please, replace in example "Finally, launch the app:":

  1. use WoohooLabs\Harmony\Middleware\LaminasEmitterMiddleware; => use WoohooLabs\Harmony\Middleware\HttpHandlerRunnerMiddleware;

  2. ->addMiddleware(new LaminasEmitterMiddleware(new SapiEmitter())) => ->addMiddleware(new HttpHandlerRunnerMiddleware(new SapiEmitter()))

@kocsismate
Copy link
Member

I believe you are using an older version of Harmony, aren't you? https://github.com/woohoolabs/harmony/releases/tag/7.1.0 added the LaminasEmitterMiddleware, as well as deprecated HttpHandlerRunnerMiddleware.

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

No branches or pull requests

2 participants