public static function getInstance() { if (self::$singleton === null) { $bm = new CRM_Banking_Matcher_Engine(); $bm->init(); self::$singleton = $bm; } return self::$singleton; }