MediaWiki
master
DumpStringOutput.php
Go to the documentation of this file.
1
<?php
9
namespace
MediaWiki\Export
;
10
11
use Stringable;
12
17
class
DumpStringOutput
extends
DumpOutput
implements Stringable {
19
private
$output =
''
;
20
24
public
function
write
( $string ) {
25
$this->output .= $string;
26
}
27
33
public
function
__toString
() {
34
return
$this->output;
35
}
36
}
37
39
class_alias( DumpStringOutput::class,
'DumpStringOutput'
);
MediaWiki\Export\DumpOutput
Definition
DumpOutput.php:17
MediaWiki\Export\DumpStringOutput
Definition
DumpStringOutput.php:17
MediaWiki\Export\DumpStringOutput\write
write( $string)
Definition
DumpStringOutput.php:24
MediaWiki\Export\DumpStringOutput\__toString
__toString()
Get the string containing the output.
Definition
DumpStringOutput.php:33
MediaWiki\Export
Definition
BaseDump.php:13
includes
Export
DumpStringOutput.php
Generated on Mon Apr 13 2026 23:24:32 for MediaWiki by
1.10.0