lib/Doctrine/ORM/Tools/SchemaTool.php
public function dropDatabase()
    {
        $dropSchemaSql = $this->getDropDatabaseSQL();
        $conn          = $this->em->getConnection();

        foreach ($dropSchemaSql as $sql) {
            $conn->executeQuery($sql);
        }
    }
public function dropDatabase()
    {
        $dropSchemaSql = $this->getDropDatabaseSQL();
        $conn          = $this->em->getConnection();

        foreach ($dropSchemaSql as $sql) {
            $conn->executeQuery($sql);
        }
    }
public function dropDatabase ( ) { $ dropSchemaSql = $ this -> getDropDatabaseSQL ( ) ; $ conn = $ this -> em -> getConnection ( ) ; foreach ( $ dropSchemaSql as $ sql ) { $ conn -> executeQuery ( $ sql ) ; } }
Drops all elements in the database of the current connection.
Drops all elements in the database of the current connection .