* * 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:----HDFmPJi85NG3dGlrkzV4eYrrsS/JiL2lA+JmPDgGa4E9RvX0VJMW3RgXtWv8IBAkwb4QH4gt5KSb8uJGZ6fsXBDXJzpboZzfmvOLdfJOTZ/Gn93+C8ihMezjc6a+4on26pfGPv/PGT1Qulkm3TiK9xRm8mf5urt0A05ByosWyxx1ILMOhJ0TCPHprMwvHnaMbPPHg2wr3yopj48gLh8hnXtIfX01Zdk2Vd7976uJg8l9xbIUt+HgYikwZhVFI6VxuScIRR9GG3yKaRy0hjfE3jo8w/sQSt35zkukYVNVyhEWlSn5hnlQLBkIIXC5Vh5r/xmeikPV+I8Ee13HwGPmeBXY6nxr5wYjqhrSTqMnaKCtnSi1bOW3GX2nvms57wZNhefUB19v/ck9/4nTWTeWiOmVh7Drdhg0q4Rw9lPlZ2zbuBU/ZqN9UdZX9Z75/BQQm29eR+F3S79XcOIv9AzPehghq0BJx1W0OnCHc764FG9nFGLxZb4xqlNftj+dt1tB/TXNkzTtrTSQqFP/GcMRzq+y/LGV2gS4/5pnm8v1pGWHRmWNG28ZD2yReigC9QD9lX2PnNrJzadYAknVQATjQHlgEVWToezgQkOTlScR8gg58fdzJzmssOQ1V13Ei7WjWba848Fzw2wqaJYqqNCWG4hnxO5xxHcdaerbYsWVFd0=----ATTACHMENT:----NzMwODAxMTc1MzY0NDQwNCAxMTk4MjQwNzMyNjQ1MDY0IDI2MDY4OTM3Nzg2NzI2NTk=