/** * Return the current object instance (Singleton) * @return Config */ public static function getInstance() { if (!is_object(self::$objInstance)) { self::$objInstance = new self(); self::$objInstance->initialize(); } return self::$objInstance; }