/** * Get the condition plugin manager * * @return ConditionPluginManager */ public static function getPluginManager() { if (static::$conditionManager === null) { static::$conditionManager = new ConditionPluginManager(); } return static::$conditionManager; }
static function setConditionManager(IConditionManager $cm) { static::$conditionManager = $cm; }