aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-10-15 09:23:41 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-10-15 09:23:41 +0200
commitf7280788d517a09520186729232f979d8eb46d6b (patch)
treea4cc676cc1f27ae1c145714bdf4f729af9f1e13a
parent62de6b7485ee6a83d9a6f7f6003a7254eb8879c4 (diff)
downloadIterator-f7280788d517a09520186729232f979d8eb46d6b.zip
Iterator-f7280788d517a09520186729232f979d8eb46d6b.tar.gz
Iterator-f7280788d517a09520186729232f979d8eb46d6b.tar.bz2
Define flex entities.
-rw-r--r--Iterator.php9
-rw-r--r--Recursive/Recursive.php9
2 files changed, 18 insertions, 0 deletions
diff --git a/Iterator.php b/Iterator.php
index 8911149..f2135ce 100644
--- a/Iterator.php
+++ b/Iterator.php
@@ -49,3 +49,12 @@ namespace Hoa\Iterator {
interface Iterator extends \Iterator { }
}
+
+namespace {
+
+/**
+ * Flex entity.
+ */
+Hoa\Core\Consistency::flexEntity('Hoa\Iterator\Iterator');
+
+}
diff --git a/Recursive/Recursive.php b/Recursive/Recursive.php
index b4a7e67..397cf01 100644
--- a/Recursive/Recursive.php
+++ b/Recursive/Recursive.php
@@ -49,3 +49,12 @@ namespace Hoa\Iterator\Recursive {
interface Recursive extends \RecursiveIterator { }
}
+
+namespace {
+
+/**
+ * Flex entity.
+ */
+Hoa\Core\Consistency::flexEntity('Hoa\Iterator\Recursive\Recursive');
+
+}