rcrowe/TwigBridge

How would I go about adding an extension that needs configuration?

adrienne opened this issue · 2 comments

I would really like to add this extension: https://github.com/parisek/twig-typography

But I can't figure out how to do it from the config, and the Twigbridge docs are not helping me out. Any suggestions?

@rcrowe or @barryvdh any pointers?

Got the same problem, it looks like you can only pass the extension class name, but what if I want to parametrize it? I would love to simply pass an instance.

@rcrowe @barryvdh Can this be done somehow?

Without it, I'm forced to use static, which sucks.