/** * Create table configurations for all tables that were not configured yet. * * @param DumperConfigurationInterface $config * @param Table[] $tables */ private function createMissingTableConfigs(DumperConfigurationInterface $config, array $tables) { foreach ($tables as $table) { if (!$config->hasTableConfig($table->getName())) { $config->addTableConfig(new TableConfiguration($table->getName())); } } }