lib/Doctrine/DBAL/Schema/AbstractSchemaManager.php
public function tablesExist($tableNames)
    {
        $tableNames = array_map('strtolower', (array) $tableNames);

        return count($tableNames) === count(array_intersect($tableNames, array_map('strtolower', $this->listTableNames())));
    }
public function tablesExist($tableNames)
    {
        $tableNames = array_map('strtolower', (array) $tableNames);

        return count($tableNames) === count(array_intersect($tableNames, array_map('strtolower', $this->listTableNames())));
    }
public function tablesExist ( $ tableNames ) { $ tableNames = array_map ( 'strtolower' , ( array ) $ tableNames ) ; return count ( $ tableNames ) === count ( array_intersect ( $ tableNames , array_map ( 'strtolower' , $ this -> listTableNames ( ) ) ) ) ; }
Returns true if all the given tables exist.

@param string|string[] $tableNames

@return bool
Returns true if all the given tables exist .