/** * Get singleton instance. * * @return ZLanguage */ public static function getInstance() { if (!isset(self::$instance)) { self::$instance = new self(); } return self::$instance; }