27 $this->sinks = $sinks;
28 $this->count = count( $sinks );
35 for ( $i = 0; $i < $this->count; $i++ ) {
36 $this->sinks[$i]->writeOpenStream( $string );
44 for ( $i = 0; $i < $this->count; $i++ ) {
45 $this->sinks[$i]->writeCloseStream( $string );
54 for ( $i = 0; $i < $this->count; $i++ ) {
55 $this->sinks[$i]->writeOpenPage( $page, $string );
63 for ( $i = 0; $i < $this->count; $i++ ) {
64 $this->sinks[$i]->writeClosePage( $string );
73 for ( $i = 0; $i < $this->count; $i++ ) {
74 $this->sinks[$i]->writeRevision( $rev, $string );
90 for ( $i = 0; $i < $this->count; $i++ ) {
91 $this->sinks[$i]->closeAndRename( $newnames[$i], $open );
100 for ( $i = 0; $i < $this->count; $i++ ) {
101 $filenames[] = $this->sinks[$i]->getFilenames();
108class_alias( DumpMultiWriter::class,
'DumpMultiWriter' );