DEV Community

Discussion on: Getting started with Slim PHP framework by building a very simple MVC/OOP app

Collapse
 
bvrulez profile image
bomben

The problem was, that the parameter that gets passed to the constructor is tested for its type by slim. So we have to type-hint it now with "Container". But this is just one of the problems this tutorial raises when applied to Slim 4.