aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 21:47:38 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-12-08 21:47:38 +0100
commit68d2fdf976b5bac88be268954b6f7a2aad58526d (patch)
treefe6c85e7c5d077da85e63a8b843210025869c7ca
parent8ed6fbb5ef5d962e72f0c9613a742237460b2505 (diff)
downloadRouter-68d2fdf976b5bac88be268954b6f7a2aad58526d.zip
Router-68d2fdf976b5bac88be268954b6f7a2aad58526d.tar.gz
Router-68d2fdf976b5bac88be268954b6f7a2aad58526d.tar.bz2
Consistency: Use `Hoa\Consistency`.
-rw-r--r--Documentation/Fr/Index.xyl2
-rw-r--r--Exception/Exception.php4
-rw-r--r--Http/Http.php3
-rw-r--r--Router.php4
-rw-r--r--composer.json5
5 files changed, 10 insertions, 8 deletions
diff --git a/Documentation/Fr/Index.xyl b/Documentation/Fr/Index.xyl
index de2a5f6..d04f4ef 100644
--- a/Documentation/Fr/Index.xyl
+++ b/Documentation/Fr/Index.xyl
@@ -790,7 +790,7 @@ Array
</code></pre>
<p>Rien de plus simple avec <code>Hoa\Router\Cli</code>. Nous pouvons toujours
regarder le script <code>hoa</code> (dans
- <a href="@central_resource:path=Library/Core/Bin/Hoa.php"><code>hoa://Library/Core/Bin/Hoa.php</code></a>)
+ <a href="@central_resource:path=Library/Cli/Bin/Hoa.php"><code>hoa://Library/Cli/Bin/Hoa.php</code></a>)
pour avoir un exemple concret.</p>
<h2 id="Continuer_avec_un_dispatcheur" for="main-toc">Continuer avec un
diff --git a/Exception/Exception.php b/Exception/Exception.php
index d46bb73..4fef93b 100644
--- a/Exception/Exception.php
+++ b/Exception/Exception.php
@@ -36,7 +36,7 @@
namespace Hoa\Router\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\Router\Exception\Exception');
+Consistency::flexEntity('Hoa\Router\Exception\Exception');
diff --git a/Http/Http.php b/Http/Http.php
index ce95d8f..3f3ad2c 100644
--- a/Http/Http.php
+++ b/Http/Http.php
@@ -36,6 +36,7 @@
namespace Hoa\Router\Http;
+use Hoa\Consistency;
use Hoa\Core;
use Hoa\Router;
@@ -1017,4 +1018,4 @@ class Http extends Router\Generic implements Core\Parameter\Parameterizable
/**
* Flex entity.
*/
-Core\Consistency::flexEntity('Hoa\Router\Http\Http');
+Consistency::flexEntity('Hoa\Router\Http\Http');
diff --git a/Router.php b/Router.php
index e2b80ac..73858dd 100644
--- a/Router.php
+++ b/Router.php
@@ -36,7 +36,7 @@
namespace Hoa\Router;
-use Hoa\Core;
+use Hoa\Consistency;
/**
* Interface \Hoa\Router.
@@ -209,4 +209,4 @@ interface Router
/**
* Flex entity.
*/
-Core\Consistency::flexEntity('Hoa\Router\Router');
+Consistency::flexEntity('Hoa\Router\Router');
diff --git a/composer.json b/composer.json
index ce400f8..94efe76 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"
},
"autoload": {
"psr-4": {