composer package updates
[openemr.git] / vendor / twig / twig / lib / Twig / Util / TemplateDirIterator.php
blobc8682335dee1e0cf9fcc72a656adc4f2f26ee2b3
1 <?php
3 /*
4 * This file is part of Twig.
6 * (c) Fabien Potencier
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 /**
13 * @author Fabien Potencier <fabien@symfony.com>
15 class Twig_Util_TemplateDirIterator extends IteratorIterator
17 public function current()
19 return file_get_contents(parent::current());
22 public function key()
24 return (string) parent::key();
28 class_alias('Twig_Util_TemplateDirIterator', 'Twig\Util\TemplateDirIterator', false);