diff options
Diffstat (limited to 'core/Option.php')
-rw-r--r-- | core/Option.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/Option.php b/core/Option.php index d50e5c4235..d79df967ed 100644 --- a/core/Option.php +++ b/core/Option.php @@ -144,6 +144,17 @@ class Option } /** + * Sets the singleton instance. For testing purposes. + * + * @param mixed + * @ignore + */ + public static function setSingletonInstance($instance) + { + self::$instance = $instance; + } + + /** * Private Constructor */ private function __construct() |