original_string: public function afterImport()
      {
          $obj = Craft::$app->globals;
          $refObject = new \ReflectionObject($obj);
          if ($refObject->hasProperty('_allGlobalSets')) {
              $refProperty1 = $refObject->getProperty('_allGlobalSets');
              $refProperty1->setAccessible(true);
              $refProperty1->setValue($obj, null);
          }
      }
code: public function afterImport()
      {
          $obj = Craft::$app->globals;
          $refObject = new \ReflectionObject($obj);
          if ($refObject->hasProperty('_allGlobalSets')) {
              $refProperty1 = $refObject->getProperty('_allGlobalSets');
              $refProperty1->setAccessible(true);
              $refProperty1->setValue($obj, null);
          }
      }
code_tokens: public function afterImport ( ) { $ obj = Craft :: $ app -> globals ; $ refObject = new \ ReflectionObject ( $ obj ) ; if ( $ refObject -> hasProperty ( '_allGlobalSets' ) ) { $ refProperty1 = $ refObject -> getProperty ( '_allGlobalSets' ) ; $ refProperty1 -> setAccessible ( true ) ; $ refProperty1 -> setValue ( $ obj , null ) ; } }
docstring: Reset craft global sets cache using reflection.
docstring_tokens: Reset craft global sets cache using reflection .