suggestor.php 511 B

1234567891011121314151617181920
  1. <?php
  2. /*
  3. * This file is part of Twig.
  4. *
  5. * (c) Fabien Potencier
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\DependencyInjection\Loader\Configurator;
  11. use Twig\Extra\TwigExtraBundle\MissingExtensionSuggestor;
  12. return static function (ContainerConfigurator $container) {
  13. $container->services()
  14. ->set('twig.missing_extension_suggestor', MissingExtensionSuggestor::class)
  15. ;
  16. };