1 <?php
2
3 /*
4 * This file is part of the Patron package.
5 *
6 * (c) Olivier Laviale <olivier.laviale@gmail.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Patron;
13
14 class Template implements \IteratorAggregate
15 {
16 public $file;
17 public $nodes;
18
19 public function getIterator()
20 {
21 return new \ArrayIterator($this->nodes);
22 }
23 }
24