TwigProcessor.php 445 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * @package Grav.Common.Processors
  4. *
  5. * @copyright Copyright (C) 2015 - 2018 Trilby Media, LLC. All rights reserved.
  6. * @license MIT License; see LICENSE file for details.
  7. */
  8. namespace Grav\Common\Processors;
  9. class TwigProcessor extends ProcessorBase implements ProcessorInterface
  10. {
  11. public $id = 'twig';
  12. public $title = 'Twig';
  13. public function process()
  14. {
  15. $this->container['twig']->init();
  16. }
  17. }