public function rebuildDocumentTableFor($documentName)
    {
        $class      = $this->dm->getClassMetadata($documentName);
        $table      = $class->getTableName();
        $defintiion = $class->getDefinitionTable();

        $this->doDeleteTable($table, $defintiion);
        $this->doCreateTable($table, $defintiion);
    }
public function rebuildDocumentTableFor($documentName)
    {
        $class      = $this->dm->getClassMetadata($documentName);
        $table      = $class->getTableName();
        $defintiion = $class->getDefinitionTable();

        $this->doDeleteTable($table, $defintiion);
        $this->doCreateTable($table, $defintiion);
    }
public function rebuildDocumentTableFor ( $ documentName ) { $ class = $ this -> dm -> getClassMetadata ( $ documentName ) ; $ table = $ class -> getTableName ( ) ; $ defintiion = $ class -> getDefinitionTable ( ) ; $ this -> doDeleteTable ( $ table , $ defintiion ) ; $ this -> doCreateTable ( $ table , $ defintiion ) ; }
Deletes and rebuilds the DynamoDB table for a mapped class.

@param string $documentName

@return void
Deletes and rebuilds the DynamoDB table for a mapped class .