getExtensionById('tao'); $ext->setConfig(self::CONFIG_ID, $implementation); self::$implementation = $implementation; } /** * @return LockSystem */ public static function getImplementation() { if (is_null(self::$implementation)) { $ext = \common_ext_ExtensionsManager::singleton()->getExtensionById('tao'); self::$implementation = $ext->getConfig(self::CONFIG_ID); } return self::$implementation; } }