The current class detection implementation does not work with Slim 4.0.0 Beta.
Detection needs to be added for Slim\Psr7\Response (Slim 4) in addition to the current Slim\Http\Response (Slim 3).
Adding additional support for Slim\Psr7\Request and Slim\Psr7\Response would enable other libraries, like tuupola/slim-basic-auth to work with Slim 4.0.0 Beta while maintaining backward compatibility with Slim 3.
The current class detection implementation does not work with Slim 4.0.0 Beta.
Detection needs to be added for
Slim\Psr7\Response
(Slim 4) in addition to the currentSlim\Http\Response
(Slim 3).Adding additional support for
Slim\Psr7\Request
andSlim\Psr7\Response
would enable other libraries, like tuupola/slim-basic-auth to work with Slim 4.0.0 Beta while maintaining backward compatibility with Slim 3.