Copied!

TablesDumper coordinates dumping of table structures and data rows.

It relies on callbacks provided by Mysqldump to avoid duplicating logic.

CloneableInstantiable
Methods
public __construct(Closure $iterateTables, Closure $matches, Closure $getTableStructure, Closure $listValues, Closure $getExcludedTables, Closure $getNoData)
 
  • param \Closure $iterateTables yields table names
  • param \Closure $matches function(string $name, array $excluded): bool
  • param \Closure $getTableStructure function(string $table): void
  • param \Closure $listValues function(string $table): void
  • param \Closure $getExcludedTables function(): array returns excluded tables
  • param \Closure $getNoData function(): array|bool returns no-data setting
public dump() : void
Properties
private Closure $getExcludedTables
private Closure $getNoData
private Closure $getTableStructure
private Closure $iterateTables
private Closure $listValues
private Closure $matches
© 2026 Bruce Wells
Search Namespaces \ Classes
Configuration