[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 3 /* 4 * This file is part of the Symfony package. 5 * 6 * (c) Fabien Potencier <fabien@symfony.com> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12 namespace Symfony\Bridge\Twig\Form; 13 14 use Symfony\Component\Form\FormRenderer; 15 use Twig\Environment; 16 17 /** 18 * @author Bernhard Schussek <bschussek@gmail.com> 19 */ 20 class TwigRenderer extends FormRenderer implements TwigRendererInterface 21 { 22 public function __construct(TwigRendererEngineInterface $engine, $csrfTokenManager = null) 23 { 24 parent::__construct($engine, $csrfTokenManager); 25 } 26 27 /** 28 * Returns the engine used by this renderer. 29 * 30 * @return TwigRendererEngineInterface The renderer engine 31 */ 32 public function getEngine() 33 { 34 return parent::getEngine(); 35 } 36 37 /** 38 * {@inheritdoc} 39 */ 40 public function setEnvironment(Environment $environment) 41 { 42 $this->getEngine()->setEnvironment($environment); 43 } 44 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |