4 * This file is part of Twig.
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
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());
24 return (string) parent::key();
28 class_alias('Twig_Util_TemplateDirIterator', 'Twig\Util\TemplateDirIterator', false);