aboutsummaryrefslogtreecommitdiffstats
path: root/Exception
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-10-15 09:34:01 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-10-15 09:35:26 +0200
commit192934c2d4935c7296c76416bd4d4feade0c5b4d (patch)
treece0a290be8cc87a9e4edc0622698d2380d9ae114 /Exception
parent1f76da82ca867394fc6f48eb05a16fd418e230b9 (diff)
downloadPraspel-192934c2d4935c7296c76416bd4d4feade0c5b4d.zip
Praspel-192934c2d4935c7296c76416bd4d4feade0c5b4d.tar.gz
Praspel-192934c2d4935c7296c76416bd4d4feade0c5b4d.tar.bz2
Define flex entities.
Diffstat (limited to 'Exception')
-rw-r--r--Exception/Exception.php9
-rw-r--r--Exception/Failure/Failure.php9
2 files changed, 18 insertions, 0 deletions
diff --git a/Exception/Exception.php b/Exception/Exception.php
index 146a7ef..e38c57a 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -49,3 +49,12 @@ namespace Hoa\Praspel\Exception {
interface Exception { }
}
+
+namespace {
+
+/**
+ * Flex entity.
+ */
+Hoa\Core\Consistency::flexEntity('Hoa\Praspel\Exception\Exception');
+
+}
diff --git a/Exception/Failure/Failure.php b/Exception/Failure/Failure.php
index 6c4c31d..1be7a2b 100644
--- a/Exception/Failure/Failure.php
+++ b/Exception/Failure/Failure.php
@@ -60,3 +60,12 @@ namespace Hoa\Praspel\Exception\Failure {
class Failure extends \Hoa\Praspel\Exception\Generic { }
}
+
+namespace {
+
+/**
+ * Flex entity.
+ */
+Hoa\Core\Consistency::flexEntity('Hoa\Praspel\Exception\Failure');
+
+}