wiki.techinc.nl/tests/phpunit/includes/RevisionTestModifyableContent.php

24 lines
429 B
PHP
Raw Normal View History

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