public function __construct(TableList $table_list, TableDuplicator $table_duplicator, TableReplacer $table_replacer, ActivePlugins $active_plugins, ContentRelations $content_relations, AttachmentCopier $attachment_copier)
{
$this->table_list = $table_list;
$this->table_duplicator = $table_duplicator;
$this->table_replacer = $table_replacer;
$this->active_plugins = $active_plugins;
$this->content_relations = $content_relations;
$this->attachment_copier = $attachment_copier;
$this->db = $GLOBALS['wpdb'];
}