diff options
author | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2015-11-20 13:07:31 +0100 |
---|---|---|
committer | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2015-11-23 22:43:01 +0100 |
commit | 31655917c9d6f13b8bfe2e8598bdb09f2de8c7f4 (patch) | |
tree | 3a3cb297de5638e0eda044a23f771383dca88d92 | |
parent | ed6b73cb0108aa7f24c3e1645d5dfb480f615b34 (diff) | |
download | Registry-31655917c9d6f13b8bfe2e8598bdb09f2de8c7f4.zip Registry-31655917c9d6f13b8bfe2e8598bdb09f2de8c7f4.tar.gz Registry-31655917c9d6f13b8bfe2e8598bdb09f2de8c7f4.tar.bz2 |
Exception: Use `Hoa\Exception`.
The core is being splitted into several libraries. `Hoa\Exception` is
one of them.
-rw-r--r-- | Exception.php | 6 | ||||
-rw-r--r-- | composer.json | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/Exception.php b/Exception.php index 3585140..e39458e 100644 --- a/Exception.php +++ b/Exception.php @@ -36,16 +36,16 @@ namespace Hoa\Registry; -use Hoa\Core; +use Hoa\Exception as HoaException; /** * Class \Hoa\Registry\Exception. * - * Extending the \Hoa\Core\Exception class. + * Extending the \Hoa\Exception\Exception class. * * @copyright Copyright © 2007-2015 Hoa community * @license New BSD License */ -class Exception extends Core\Exception +class Exception extends HoaException { } diff --git a/composer.json b/composer.json index 45406e5..880d08b 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,8 @@ "source": "http://git.hoa-project.net/" }, "require": { - "hoa/core": "~2.0" + "hoa/core" : "~2.0", + "hoa/exception": "~0.0" }, "require-dev": { "hoa/test": "~1.0" |