51 'map' => array($this, 'iteratorMap'),
52 'sort' => $state->sort
53 ));
54
55 if ($files === false) {
56 throw new UnexpectedValueException('Invalid folder: ' . $state->folder);
57 }
58 }
59 else $files = array($state->uri);
60
61