diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-27 08:45:08 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2014-11-28 01:58:56 +0300 |
commit | d98e21e2a1934eef1bd9f6c241588e33ddbedcdb (patch) | |
tree | 2ab27fc6320d4831570fb3abcb0c74272f84c9c7 /core/Container | |
parent | e00732e1ea29900860671a5b022d4450377776f2 (diff) |
Logger refactoring, 1st step: separate config from logic
Diffstat (limited to 'core/Container')
-rw-r--r-- | core/Container/StaticContainer.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/Container/StaticContainer.php b/core/Container/StaticContainer.php index 5948ec1c78..39a6552ef6 100644 --- a/core/Container/StaticContainer.php +++ b/core/Container/StaticContainer.php @@ -39,6 +39,11 @@ class StaticContainer return self::$container; } + public static function reset() + { + self::$container = null; + } + /** * @link http://php-di.org/doc/container-configuration.html */ |