original_string: private function resetCraftSitesServiceGroupsCache()
      {
          $obj = Craft::$app->sites;
          $refObject = new \ReflectionObject($obj);
          if ($refObject->hasProperty('_fetchedAllGroups')) {
              $refProperty = $refObject->getProperty('_fetchedAllGroups');
              $refProperty->setAccessible(true);
              $refProperty->setValue($obj, false);
          }
      }
code: private function resetCraftSitesServiceGroupsCache()
      {
          $obj = Craft::$app->sites;
          $refObject = new \ReflectionObject($obj);
          if ($refObject->hasProperty('_fetchedAllGroups')) {
              $refProperty = $refObject->getProperty('_fetchedAllGroups');
              $refProperty->setAccessible(true);
              $refProperty->setValue($obj, false);
          }
      }
code_tokens: private function resetCraftSitesServiceGroupsCache ( ) { $ obj = Craft :: $ app -> sites ; $ refObject = new \ ReflectionObject ( $ obj ) ; if ( $ refObject -> hasProperty ( '_fetchedAllGroups' ) ) { $ refProperty = $ refObject -> getProperty ( '_fetchedAllGroups' ) ; $ refProperty -> setAccessible ( true ) ; $ refProperty -> setValue ( $ obj , false ) ; } }
docstring: Reset craft site service groups cache using reflection.
docstring_tokens: Reset craft site service groups cache using reflection .