| 1 | <?php  | 
            ||
| 7 | class DirectoryResourceIterator extends \RecursiveIteratorIterator  | 
            ||
| 8 | { | 
            ||
| 9 | protected $loader;  | 
            ||
| 10 | |||
| 11 | protected $bundle;  | 
            ||
| 12 | |||
| 13 | protected $path;  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * @param LoaderInterface $loader The templating loader  | 
            ||
| 17 | * @param string $path The directory  | 
            ||
| 18 | * @param \RecursiveIterator $iterator The inner iterator  | 
            ||
| 19 | */  | 
            ||
| 20 | public function __construct(LoaderInterface $loader, $path, \RecursiveIterator $iterator)  | 
            ||
| 27 | |||
| 28 | public function current()  | 
            ||
| 34 | }  | 
            ||
| 35 |