- }
-
- /**
- * Return existing instance of PluginManager, or create it.
- *
- * @return PluginManager instance.
- */
- public static function getInstance()
- {
- if (!(self::$instance instanceof self)) {
- self::$instance = new self();
- }
-
- return self::$instance;