/** * Returns the instance of this class. If not exists, create it. * @return instance */ public static function getInstance() { if (self::$m_Instance === null) { self::$m_Instance = new static(); } return self::$m_Instance; }