original_string: private function resetCraftMatrixServiceBlockTypesCache()
      {
          $obj = Craft::$app->matrix;
          $refObject = new \ReflectionObject($obj);
          if ($refObject->hasProperty('_fetchedAllBlockTypesForFieldId')) {
              $refProperty1 = $refObject->getProperty('_fetchedAllBlockTypesForFieldId');
              $refProperty1->setAccessible(true);
              $refProperty1->setValue($obj, false);
          }
      }
code: private function resetCraftMatrixServiceBlockTypesCache()
      {
          $obj = Craft::$app->matrix;
          $refObject = new \ReflectionObject($obj);
          if ($refObject->hasProperty('_fetchedAllBlockTypesForFieldId')) {
              $refProperty1 = $refObject->getProperty('_fetchedAllBlockTypesForFieldId');
              $refProperty1->setAccessible(true);
              $refProperty1->setValue($obj, false);
          }
      }
code_tokens: private function resetCraftMatrixServiceBlockTypesCache ( ) { $ obj = Craft :: $ app -> matrix ; $ refObject = new \ ReflectionObject ( $ obj ) ; if ( $ refObject -> hasProperty ( '_fetchedAllBlockTypesForFieldId' ) ) { $ refProperty1 = $ refObject -> getProperty ( '_fetchedAllBlockTypesForFieldId' ) ; $ refProperty1 -> setAccessible ( true ) ; $ refProperty1 -> setValue ( $ obj , false ) ; } }
docstring: Reset craft matrix service block types cache using reflection.
docstring_tokens: Reset craft matrix service block types cache using reflection .