Warn if stateful ParserOutput transforms are used
[lhc/web/wiklou.git] / tests / phpunit / includes / RevisionTestModifyableContent.php
1 <?php
2
3 class RevisionTestModifyableContent extends TextContent {
4
5 const MODEL_ID = "RevisionTestModifyableContent";
6
7 public function __construct( $text ) {
8 parent::__construct( $text, self::MODEL_ID );
9 }
10
11 public function copy() {
12 return new RevisionTestModifyableContent( $this->mText );
13 }
14
15 public function getText() {
16 return $this->mText;
17 }
18
19 public function setText( $text ) {
20 $this->mText = $text;
21 }
22
23 }