wiki.techinc.nl/tests/phpunit/includes/RevisionTestModifyableContent.php
addshore 1bdc9e1d6b RevisionTest code style fixes & file split
Change-Id: I054a6810e29225e4341c518631a6dba9f40a1531
2017-10-11 16:20:15 +00:00

21 lines
387 B
PHP

<?php
class RevisionTestModifyableContent extends TextContent {
public function __construct( $text ) {
parent::__construct( $text, "RevisionTestModifyableContent" );
}
public function copy() {
return new RevisionTestModifyableContent( $this->mText );
}
public function getText() {
return $this->mText;
}
public function setText( $text ) {
$this->mText = $text;
}
}