You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
jups, array notation is from Pimple, which is the container being used by Slim.
Object property notation is from the Slim\App object, which ports to the container.
This is a recent change so could be that the documentation is not up to date yet. Should be solved when Slim 3.0 becomes final.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
According to http://docs-new.slimframework.com/features/templates/ ("Register the view service"), the code to use is:
However that throws a fatal error
Call to undefined method Slim\App::register()
.From the readme at https://github.com/slimphp/Twig-View it seems the correct code is actually:
.. which seems to at least get rid of the error.
The text was updated successfully, but these errors were encountered: