aboutsummaryrefslogtreecommitdiffstats
path: root/Model/Description.php
diff options
context:
space:
mode:
Diffstat (limited to 'Model/Description.php')
-rw-r--r--Model/Description.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/Model/Description.php b/Model/Description.php
index 7e9dace..926d6cb 100644
--- a/Model/Description.php
+++ b/Model/Description.php
@@ -46,7 +46,12 @@ from('Hoa')
/**
* \Hoa\Iterator\Aggregate
*/
--> import('Iterator.Aggregate');
+-> import('Iterator.Aggregate')
+
+/**
+ * \Hoa\Iterator\Map
+ */
+-> import('Iterator.Map');
}
@@ -147,11 +152,11 @@ class Description
* Iterator over examples.
*
* @access public
- * @return \ArrayIterator
+ * @return \Hoa\Iterator\Map
*/
public function getIterator ( ) {
- return new \ArrayIterator($this->_examples);
+ return new \Hoa\Iterator\Map($this->_examples);
}
/**