public function Instance() { if (!isset(self::$mrInstance)) { self::$mrInstance = new SharedMemory(); } return self::$mrInstance; }