-
Notifications
You must be signed in to change notification settings - Fork 423
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
conditional block variable isset check. #327
Comments
Well, if |
@Chemaclass As per the issue #284 , the objective is to throw an error for undefined variables. Currently with the solution provided in #284, I am getting and exception with |
Luckily, I have found this #325. Waiting for this to get merged. @bobthecow |
@SaikumarChintada Nice one! |
It's been 2 years and it doesn't look like #325 got merged. |
in #284, the discussion was ended with a context object as parameter for the mustache_engine's render function.
I have a follow up.
How to handle this case ?
$m->render("{{#a}}{{b}}{{/a}}", new ThrowyThing(['b' => ['d' => 'E']]));
The text was updated successfully, but these errors were encountered: