app/Http/Controllers/Controller.phpwith the following contents:
lumberjack-coreto version 4.
render()function has changed to the PSR interface from the concrete Zend implementation.
bind()method on the
Applicationcontainer is no longer a singleton by default when the value (2nd param) is not a primitive or object instance.
singleton()method has been provided to enable the previous behaviour. This enables the app developer to be more intentional about the behaviour they desire.
ServerRequestclass into a Controller, you can now switch this out for the following class if you want to benefit from some of the new helper functions:
ViewModelbase class no longer extends from
stdClassand so can no longer have arbitrary properties set on it.
bootstrap/app.phpyou should change how the exception handler is bound to
app()global counterpart) no longer use the
make()method of the Application instance and now rely on
get(). This provides much more consistent behaviour with other uses of the Container. If you still want to use the helpers to get
make()behaviour you can change your code.
Routerclass from the container, you'll need to change the class reference.
http-interop/http-server-middlewarepackage has been deprecated in favour of the now official PSR-15 interfaces found in