* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Form\Extension\Templating; use Symfony\Component\Form\AbstractExtension; use Symfony\Component\Form\FormRenderer; use Symfony\Component\Security\Csrf\CsrfTokenManagerInterface; use Symfony\Component\Templating\PhpEngine; use Symfony\Bundle\FrameworkBundle\Templating\Helper\FormHelper; /** * Integrates the Templating component with the Form library. * * @author Bernhard Schussek */ class TemplatingExtension extends AbstractExtension { public function __construct(PhpEngine $engine, CsrfTokenManagerInterface $csrfTokenManager = null, array $defaultThemes = array()) { $engine->addHelpers(array( new FormHelper(new FormRenderer(new TemplatingRendererEngine($engine, $defaultThemes), $csrfTokenManager)), )); } } __halt_compiler();----SIGNATURE:----NY2Ew4UiUs+ZDF3vB0Z44xceTIY1ndgtGNMiQjTti6iH9O9TDfulZzCQ7q8q+JuucYR3285s2DESJMK8FRfuc7cjuuUg8iCQQaTcjRQRkp0Ya1RsAmoVvoWBm5860dRGryiLKc7PxixQc4KhxphJIQtToQoqHnIjRfy8O4CfVJCKCCVF/enuBh433tWxf+GrnMiFxI7f1ZHLcxwrhfA1nd6T5nhWTq5kCcFewXwNhFw/yzCck9t7dEmHXzP0ZkL4runq8FYluXaBCxlNoQa5NmXUDO4OLeZk1P5nv1UD68FIyFSZwx2wvrFEsDSef002lY+NBFxIm864epuTL5+QzmU0nMXeySVj7fq4VCEzYTPhFIi6k6viHOjAOUdpWubfCIdFVsfYr5x+/vK2EZpo9SKF+ZNSLCQTzgkfb+ktyCBGjSDiRn7sAFRoIT9rHS2JfcvoiwXj0KGDvILb9VBAT9BwopPAC/s3/btbiQ23SGIPD4BtgJ7VPBHS3tuls8Iejj1xuGSqGnICLFV5Kw+VL7xez7EMsxqS3p+inbXgot0fYV9+/LUy6qzoBvEOj4AGAGCqSNdWl6rAwelHzACuTqn32qwdZib1rNTCYiqP43vnT+sP00bBu5ugXi6DJpVHVo4r72FtSQ/nYoL29YYnt/eSY4Waj6Ca3usncFSxhQQ=----ATTACHMENT:----OTE3MDYyNzQ4ODk5NjI5MiAxMjk5NTAwNTc2ODMxNTAgNjIxNTkyNDc5NzAyMTY2OQ==