aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 11:10:00 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-01-11 09:33:01 +0100
commit11510bfe65806569b314f0a979af92c81a23d6e8 (patch)
treef95c436abf448b96890b8da15cc71881974f0111
parentdfe62b7f439c4caa7f365608f44a51116b516fba (diff)
downloadEvent-11510bfe65806569b314f0a979af92c81a23d6e8.zip
Event-11510bfe65806569b314f0a979af92c81a23d6e8.tar.gz
Event-11510bfe65806569b314f0a979af92c81a23d6e8.tar.bz2
Consistency: Use `Hoa\Consistency`.
-rw-r--r--Event.php6
-rw-r--r--composer.json5
2 files changed, 6 insertions, 5 deletions
diff --git a/Event.php b/Event.php
index a2112b4..2eeeb17 100644
--- a/Event.php
+++ b/Event.php
@@ -36,7 +36,7 @@
namespace Hoa\Event;
-use Hoa\Core;
+use Hoa\Consistency;
/**
* Class \Hoa\Event\Event.
@@ -181,7 +181,7 @@ class Event
/**
* Attach an object to an event.
* It can be a callable or an accepted callable form (please, see the
- * \Hoa\Core\Consistency\Xcallable class).
+ * \Hoa\Consistency\Xcallable class).
*
* @param mixed $callable Callable.
* @return \Hoa\Event\Event
@@ -264,4 +264,4 @@ class Event
/**
* Flex entity.
*/
-Core\Consistency::flexEntity('Hoa\Event\Event');
+Consistency::flexEntity('Hoa\Event\Event');
diff --git a/composer.json b/composer.json
index 74a521c..ab71b5e 100644
--- a/composer.json
+++ b/composer.json
@@ -21,8 +21,9 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "hoa/core" : "~2.0",
- "hoa/exception": "~0.0"
+ "hoa/consistency": "~0.0",
+ "hoa/core" : "~2.0",
+ "hoa/exception" : "~0.0"
},
"require-dev": {
"hoa/test": "~1.0"