/** * Get PrediggoConfig object instance (Singleton) * * @return object PrediggoSearchConfig instance */ public static function singleton() { if (!isset(self::$instance)) { $c = __CLASS__; self::$instance = new $c(); } return self::$instance; }