original_string: private function resetCraftMatrixFieldBlockTypesCache(Model $record)
      {
          $obj = $record;
          $refObject = new \ReflectionObject($obj);
          if ($refObject->hasProperty('_blockTypes')) {
              $refProperty1 = $refObject->getProperty('_blockTypes');
              $refProperty1->setAccessible(true);
              $refProperty1->setValue($obj, null);
          }
      }
code: private function resetCraftMatrixFieldBlockTypesCache(Model $record)
      {
          $obj = $record;
          $refObject = new \ReflectionObject($obj);
          if ($refObject->hasProperty('_blockTypes')) {
              $refProperty1 = $refObject->getProperty('_blockTypes');
              $refProperty1->setAccessible(true);
              $refProperty1->setValue($obj, null);
          }
      }
code_tokens: private function resetCraftMatrixFieldBlockTypesCache ( Model $ record ) { $ obj = $ record ; $ refObject = new \ ReflectionObject ( $ obj ) ; if ( $ refObject -> hasProperty ( '_blockTypes' ) ) { $ refProperty1 = $ refObject -> getProperty ( '_blockTypes' ) ; $ refProperty1 -> setAccessible ( true ) ; $ refProperty1 -> setValue ( $ obj , null ) ; } }
docstring: Reset craft matrix field block types cache using reflection.
  
  @param Model $record
docstring_tokens: Reset craft matrix field block types cache using reflection .