I couldn't get TypeProvider working on getExtension:
$this->get('twig')->getExtension('core')->{caret}
It only shows the standard Twig_ExtensionInterface methods, but not the ones got from the Twig_Extension_Core (or any other/user) extension, which is provided by name.
I couldn't get TypeProvider working on getExtension:
It only shows the standard
Twig_ExtensionInterface
methods, but not the ones got from theTwig_Extension_Core
(or any other/user) extension, which is provided by name.