2017-10-10 15:55:13 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
class RevisionTestModifyableContent extends TextContent {
|
|
|
|
|
|
2020-05-16 00:27:13 +00:00
|
|
|
public const MODEL_ID = "RevisionTestModifyableContent";
|
2017-10-12 12:23:33 +00:00
|
|
|
|
2017-10-10 15:55:13 +00:00
|
|
|
public function __construct( $text ) {
|
2017-10-12 12:23:33 +00:00
|
|
|
parent::__construct( $text, self::MODEL_ID );
|
2017-10-10 15:55:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function copy() {
|
|
|
|
|
return new RevisionTestModifyableContent( $this->mText );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function getText() {
|
|
|
|
|
return $this->mText;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function setText( $text ) {
|
|
|
|
|
$this->mText = $text;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|