Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-11-27 08:45:08 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-11-28 01:58:56 +0300
commitd98e21e2a1934eef1bd9f6c241588e33ddbedcdb (patch)
tree2ab27fc6320d4831570fb3abcb0c74272f84c9c7 /core/Container
parente00732e1ea29900860671a5b022d4450377776f2 (diff)
Logger refactoring, 1st step: separate config from logic
Diffstat (limited to 'core/Container')
-rw-r--r--core/Container/StaticContainer.php5
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
*/