original_string: public function deleteDocumentTableFor($documentName)
      {
          $class = $this->dm->getClassMetadata($documentName);
  
          if ($class->isMappedSuperclass || $class->isEmbeddedDocument) {
              throw ODMException::cannotDeleteMappedSuperclassTable($documentName);
          }
  
          $this->doDeleteTable($class->getTableName(), $class->getDefinitionTable());
      }
code: public function deleteDocumentTableFor($documentName)
      {
          $class = $this->dm->getClassMetadata($documentName);
  
          if ($class->isMappedSuperclass || $class->isEmbeddedDocument) {
              throw ODMException::cannotDeleteMappedSuperclassTable($documentName);
          }
  
          $this->doDeleteTable($class->getTableName(), $class->getDefinitionTable());
      }
code_tokens: public function deleteDocumentTableFor ( $ documentName ) { $ class = $ this -> dm -> getClassMetadata ( $ documentName ) ; if ( $ class -> isMappedSuperclass || $ class -> isEmbeddedDocument ) { throw ODMException :: cannotDeleteMappedSuperclassTable ( $ documentName ) ; } $ this -> doDeleteTable ( $ class -> getTableName ( ) , $ class -> getDefinitionTable ( ) ) ; }
docstring: Checks if the DynamoDB table for a mapped class exists, and deletes it if
  it does.
  
  @param string $documentName
  
  @return void
  
  @throws ODMException
docstring_tokens: Checks if the DynamoDB table for a mapped class exists and deletes it if it does .