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