diff options
author | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2013-05-01 09:50:52 +0200 |
---|---|---|
committer | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2013-05-01 09:50:52 +0200 |
commit | dcd6e1ec54b7f75eacb365dacf4cb08462410e8e (patch) | |
tree | f0879d5785c748d251bfb56940cd174001303044 /Model | |
parent | c30d77fc85dc04a21ac5eadc8cffe202a4b36ce7 (diff) | |
download | Praspel-dcd6e1ec54b7f75eacb365dacf4cb08462410e8e.zip Praspel-dcd6e1ec54b7f75eacb365dacf4cb08462410e8e.tar.gz Praspel-dcd6e1ec54b7f75eacb365dacf4cb08462410e8e.tar.bz2 |
Use \Hoa\Iterator.
Diffstat (limited to 'Model')
-rw-r--r-- | Model/Collection.php | 9 | ||||
-rw-r--r-- | Model/Declaration.php | 11 | ||||
-rw-r--r-- | Model/Description.php | 11 | ||||
-rw-r--r-- | Model/Throwable.php | 11 |
4 files changed, 31 insertions, 11 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 { /** diff --git a/Model/Declaration.php b/Model/Declaration.php index 33c2ef4..b4a7d60 100644 --- a/Model/Declaration.php +++ b/Model/Declaration.php @@ -46,7 +46,12 @@ from('Hoa') /** * \Hoa\Praspel\Model\Variable */ --> import('Praspel.Model.Variable'); +-> import('Praspel.Model.Variable') + +/** + * \Hoa\Iterator\Aggregate + */ +-> import('Iterator.Aggregate'); } @@ -64,8 +69,8 @@ namespace Hoa\Praspel\Model { abstract class Declaration extends Clause - implements \ArrayAccess, - \IteratorAggregate, + implements \Hoa\Iterator\Aggregate, + \ArrayAccess, \Countable { /** diff --git a/Model/Description.php b/Model/Description.php index dee99bf..7e9dace 100644 --- a/Model/Description.php +++ b/Model/Description.php @@ -41,7 +41,12 @@ from('Hoa') /** * \Hoa\Praspel\Model\Clause */ --> import('Praspel.Model.Clause'); +-> import('Praspel.Model.Clause') + +/** + * \Hoa\Iterator\Aggregate + */ +-> import('Iterator.Aggregate'); } @@ -59,8 +64,8 @@ namespace Hoa\Praspel\Model { class Description extends Clause - implements \ArrayAccess, - \IteratorAggregate, + implements \Hoa\Iterator\Aggregate, + \ArrayAccess, \Countable { /** diff --git a/Model/Throwable.php b/Model/Throwable.php index 5a13658..3f1149d 100644 --- a/Model/Throwable.php +++ b/Model/Throwable.php @@ -41,7 +41,12 @@ from('Hoa') /** * \Hoa\Praspel\Model\Clause */ --> import('Praspel.Model.Clause'); +-> import('Praspel.Model.Clause') + +/** + * \Hoa\Iterator\Aggregate + */ +-> import('Iterator.Aggregate'); } @@ -59,8 +64,8 @@ namespace Hoa\Praspel\Model { class Throwable extends Clause - implements \ArrayAccess, - \IteratorAggregate, + implements \Hoa\Iterator\Aggregate, + \ArrayAccess, \Countable { /** |