aboutsummaryrefslogtreecommitdiffstats
path: root/Model/Collection.php
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-05-01 09:50:52 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-05-01 09:50:52 +0200
commitdcd6e1ec54b7f75eacb365dacf4cb08462410e8e (patch)
treef0879d5785c748d251bfb56940cd174001303044 /Model/Collection.php
parentc30d77fc85dc04a21ac5eadc8cffe202a4b36ce7 (diff)
downloadPraspel-dcd6e1ec54b7f75eacb365dacf4cb08462410e8e.zip
Praspel-dcd6e1ec54b7f75eacb365dacf4cb08462410e8e.tar.gz
Praspel-dcd6e1ec54b7f75eacb365dacf4cb08462410e8e.tar.bz2
Use \Hoa\Iterator.
Diffstat (limited to 'Model/Collection.php')
-rw-r--r--Model/Collection.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/Model/Collection.php b/Model/Collection.php
index 9a0242b..3d963dd 100644
--- a/Model/Collection.php
+++ b/Model/Collection.php
@@ -46,7 +46,12 @@ from('Hoa')
/**
* \Hoa\Visitor\Element
*/
--> import('Visitor.Element');
+-> import('Visitor.Element')
+
+/**
+ * \Hoa\Iterator\Aggregate
+ */
+-> import('Iterator.Aggregate');
}
@@ -64,8 +69,8 @@ namespace Hoa\Praspel\Model {
class Collection
implements \Hoa\Visitor\Element,
+ \Hoa\Iterator\Aggregate,
\ArrayAccess,
- \IteratorAggregate,
\Countable {
/**