vendor/sonata-project/twig-extensions/src/Bridge/Symfony/SonataTwigSymfonyBundle.php line 20

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /*
  4.  * This file is part of the Sonata Project package.
  5.  *
  6.  * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  7.  *
  8.  * For the full copyright and license information, please view the LICENSE
  9.  * file that was distributed with this source code.
  10.  */
  11. namespace Sonata\Twig\Bridge\Symfony;
  12. @trigger_error(sprintf(
  13.     'The %s\SonataTwigSymfonyBundle class is deprecated since sonata-project/twig-extensions 1.10, to be removed in version 2.0. Use %s instead.',
  14.     __NAMESPACE__,
  15.     SonataTwigBundle::class
  16. ), \E_USER_DEPRECATED);
  17. class_alias(SonataTwigBundle::class, __NAMESPACE__.'\SonataTwigSymfonyBundle');