bobthecow/mustache.php — Issue #64: throwsExceptions should be settable without subclassing
Author: shabbyrobe
Created: 2011-11-08 14:33:32+00:00
State: open

I share a library folder between a few projects that have differing requirements for whether partials should fail when they're not present. I think it would help if there was a way to set `$_throwsExceptions` without subclassing or editing the Mustache.php file. Perhaps it could be public so I could just go in and set it like so:

$mustache->throwsExceptions[MustacheException::UNKNOWN_PARTIAL] = true;

Or if that's too ugly, an option value like so: