PortableInfobox/services/Parser/SimpleParser.php

21 lines
350 B
PHP
Raw Normal View History

<?php
namespace Wikia\PortableInfobox\Parser;
class SimpleParser implements ExternalParser {
public function parse( $text ) {
return $text;
}
public function parseRecursive( $text ) {
return $this->parse( $text );
}
public function replaceVariables( $text ) {
return $text;
}
public function addImage( $title ) {
//do nothing
}
}