<?php foreach ($this->getTables() as $table) {
$qualifiedName = $table['schema'].'.'.$table['name'];
if (empty(array_intersect($this->grammar->escapeNames([$table['name'], $qualifiedName]), $excludedTables))
&& in_array($this->grammar->escapeNames([$table['schema']])[0], $schemas)) {
$tables[] = $qualifiedName;
}