3 class RevisionTestModifyableContentHandler
extends TextContentHandler
{
5 public function __construct() {
6 parent
::__construct( RevisionTestModifyableContent
::MODEL_ID
, [ CONTENT_FORMAT_TEXT
] );
9 public function unserializeContent( $text, $format = null ) {
10 $this->checkFormat( $format );
12 return new RevisionTestModifyableContent( $text );
15 public function makeEmptyContent() {
16 return new RevisionTestModifyableContent( '' );