class FormExtension extends Twig_Extension implements Twig_Extension_InitRuntimeInterface
FormExtension extends Twig with form capabilities.
Properties
TwigRendererInterface $renderer This property is public so that it can be accessed directly from compiled templates without having to call a getter, which slightly decreases performance.
Methods
__construct(TwigRendererInterface $renderer)
initRuntime(Twig_Environment $environment) {@inheritdoc}
getTokenParsers() {@inherit