aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 21:52:13 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 21:52:13 +0100
commit5e894d82420e32a4d2188092d6a6732c4de87521 (patch)
treeafb2bff4dcfaa0cddd88b119e26dcd4da6e7532b
parent7ab9867ff37a73cf59d2e9fb94d8d76fd5f22012 (diff)
downloadSession-5e894d82420e32a4d2188092d6a6732c4de87521.zip
Session-5e894d82420e32a4d2188092d6a6732c4de87521.tar.gz
Session-5e894d82420e32a4d2188092d6a6732c4de87521.tar.bz2
Consistency: Use `Hoa\Consistency`.
-rw-r--r--Exception/Exception.php4
-rw-r--r--README.md2
-rw-r--r--Session.php4
-rw-r--r--composer.json11
4 files changed, 11 insertions, 10 deletions
diff --git a/Exception/Exception.php b/Exception/Exception.php
index d2b082e..bb70bd5 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -36,7 +36,7 @@
namespace Hoa\Session\Exception;
-use Hoa\Core;
+use Hoa\Consistency;
use Hoa\Exception as HoaException;
/**
@@ -54,4 +54,4 @@ class Exception extends HoaException
/**
* Flex entity.
*/
-Core\Consistency::flexEntity('Hoa\Session\Exception\Exception');
+Consistency::flexEntity('Hoa\Session\Exception\Exception');
diff --git a/README.md b/README.md
index 0bb6b0e..66c7518 100644
--- a/README.md
+++ b/README.md
@@ -76,7 +76,7 @@ the session is empty:
```php
event('hoa://Event/Session/user:expired')
- ->attach(function (Hoa\Core\Event\Bucket $bucket) {
+ ->attach(function (Hoa\Event\Bucket $bucket) {
echo 'expired', "\n";
});
diff --git a/Session.php b/Session.php
index 8a0e524..7a41ee6 100644
--- a/Session.php
+++ b/Session.php
@@ -36,7 +36,7 @@
namespace Hoa\Session;
-use Hoa\Core;
+use Hoa\Consistency;
use Hoa\Event;
use Hoa\Iterator;
@@ -723,4 +723,4 @@ class Session
/**
* Flex entity.
*/
-Core\Consistency::flexEntity('Hoa\Session\Session');
+Consistency::flexEntity('Hoa\Session\Session');
diff --git a/composer.json b/composer.json
index 29feff4..15e7240 100644
--- a/composer.json
+++ b/composer.json
@@ -22,11 +22,12 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "hoa/core" : "~2.0",
- "hoa/event" : "~0.0",
- "hoa/exception": "~0.0",
- "hoa/iterator" : "~1.0",
- "ext-session" : "*"
+ "hoa/consistency": "~0.0",
+ "hoa/core" : "~2.0",
+ "hoa/event" : "~0.0",
+ "hoa/exception" : "~0.0",
+ "hoa/iterator" : "~1.0",
+ "ext-session" : "*"
},
"autoload": {
"psr-4": {