lib/Doctrine/ORM/Tools/SchemaTool.php
public function dropSchema(array $classes)
    {
        $dropSchemaSql = $this->getDropSchemaSQL($classes);
        $conn          = $this->em->getConnection();

        foreach ($dropSchemaSql as $sql) {
            try {
                $conn->executeQuery($sql);
            } catch (Throwable $e) {
                // ignored
            }
        }
    }
public function dropSchema(array $classes)
    {
        $dropSchemaSql = $this->getDropSchemaSQL($classes);
        $conn          = $this->em->getConnection();

        foreach ($dropSchemaSql as $sql) {
            try {
                $conn->executeQuery($sql);
            } catch (Throwable $e) {
                // ignored
            }
        }
    }
public function dropSchema ( array $ classes ) { $ dropSchemaSql = $ this -> getDropSchemaSQL ( $ classes ) ; $ conn = $ this -> em -> getConnection ( ) ; foreach ( $ dropSchemaSql as $ sql ) { try { $ conn -> executeQuery ( $ sql ) ; } catch ( Throwable $ e ) { // ignored } } }
Drops the database schema for the given classes.

In any way when an exception is thrown it is suppressed since drop was
issued for all classes of the schema and some probably just don't exist.

@param ClassMetadata[] $classes
Drops the database schema for the given classes .