Doctrine\DBAL\Platforms\MySqlPlatform::getDropTemporaryTableSQL PHP Method

getDropTemporaryTableSQL() public method

MySQL commits a transaction implicitly when DROP TABLE is executed, however not if DROP TEMPORARY TABLE is executed.
public getDropTemporaryTableSQL ( $table )
    public function getDropTemporaryTableSQL($table)
    {
        if ($table instanceof Table) {
            $table = $table->getQuotedName($this);
        } elseif (!is_string($table)) {
            throw new \InvalidArgumentException('getDropTemporaryTableSQL() expects $table parameter to be string or \\Doctrine\\DBAL\\Schema\\Table.');
        }
        return 'DROP TEMPORARY TABLE ' . $table;
    }
MySqlPlatform