/** * {@inheritdoc} * * @return Table[] */ public function getTables() { $result = []; foreach ($this->driver->tableNames() as $table) { if ($this->tablePrefix && strpos($table, $this->tablePrefix) !== 0) { //Logical partitioning continue; } $result[] = $this->table(substr($table, strlen($this->tablePrefix))); } return $result; }