vendor/pimcore/pimcore/lib/Twig/Extension/AssetCompressExtension.php line 28

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * Pimcore
  5. *
  6. * This source file is available under two different licenses:
  7. * - GNU General Public License version 3 (GPLv3)
  8. * - Pimcore Commercial License (PCL)
  9. * Full copyright and license information is available in
  10. * LICENSE.md which is distributed with this source code.
  11. *
  12. * @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
  13. * @license http://www.pimcore.org/license GPLv3 and PCL
  14. */
  15. namespace Pimcore\Twig\Extension;
  16. use Pimcore\Twig\TokenParser\AssetCompressParser;
  17. use Twig\Extension\AbstractExtension;
  18. /**
  19. * @internal
  20. */
  21. class AssetCompressExtension extends AbstractExtension
  22. {
  23. public function getTokenParsers(): array
  24. {
  25. return [
  26. new AssetCompressParser(),
  27. ];
  28. }
  29. }