aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-10-15 09:42:09 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-10-15 09:42:09 +0200
commitef19cfd196157d5e0052d6b2fbf4e50ac8692f99 (patch)
treef2437bd078bb0ad83f5ef828fe90b36bb02a3f75
parentc67e0214703a974684014b8c8da94308a9bc79ee (diff)
downloadRouter-ef19cfd196157d5e0052d6b2fbf4e50ac8692f99.zip
Router-ef19cfd196157d5e0052d6b2fbf4e50ac8692f99.tar.gz
Router-ef19cfd196157d5e0052d6b2fbf4e50ac8692f99.tar.bz2
Define flex entities.
-rw-r--r--Exception/Exception.php9
-rw-r--r--Router.php9
2 files changed, 18 insertions, 0 deletions
diff --git a/Exception/Exception.php b/Exception/Exception.php
index 1d58bc1..a4ded56 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -49,3 +49,12 @@ namespace Hoa\Router\Exception {
class Exception extends \Hoa\Core\Exception { }
}
+
+namespace {
+
+/**
+ * Flex entity.
+ */
+Hoa\Core\Consistency::flexEntity('Hoa\Router\Exception\Exception');
+
+}
diff --git a/Router.php b/Router.php
index f65c977..7dc9ac1 100644
--- a/Router.php
+++ b/Router.php
@@ -204,3 +204,12 @@ interface Router {
}
}
+
+namespace {
+
+/**
+ * Flex entity.
+ */
+Hoa\Core\Consistency::flexEntity('Hoa\Router\Router');
+
+}