var/cache/dev/ContainerTHm8hE0/getSylius_Twig_Extension_TaxesService.php line 22

Open in your IDE?
  1. <?php
  2. namespace ContainerTHm8hE0;
  3. use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
  4. use Symfony\Component\DependencyInjection\Exception\RuntimeException;
  5. /**
  6.  * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
  7.  */
  8. class getSylius_Twig_Extension_TaxesService extends App_KernelDevDebugContainer
  9. {
  10.     /**
  11.      * Gets the private 'sylius.twig.extension.taxes' shared service.
  12.      *
  13.      * @return \Sylius\Bundle\ShopBundle\Twig\OrderTaxesTotalExtension
  14.      *
  15.      * @deprecated Since sylius/shop-bundle 1.12: The "sylius.twig.extension.taxes" is deprecated since Sylius 1.12 and will be removed in 2.0. Use methods "getTaxExcludedTotal" and "getTaxIncludedTotal" from "Sylius\Component\Core\Model\Order" instead.
  16.      */
  17.     public static function do($container$lazyLoad true)
  18.     {
  19.         trigger_deprecation('sylius/shop-bundle''1.12''The "sylius.twig.extension.taxes" is deprecated since Sylius 1.12 and will be removed in 2.0. Use methods "getTaxExcludedTotal" and "getTaxIncludedTotal" from "Sylius\\Component\\Core\\Model\\Order" instead.');
  20.         return new \Sylius\Bundle\ShopBundle\Twig\OrderTaxesTotalExtension();
  21.     }
  22. }