2015-05-07 12:37:13 +00:00
|
|
|
<?php
|
2022-03-11 20:35:51 +00:00
|
|
|
|
2018-08-09 09:49:10 +00:00
|
|
|
namespace PortableInfobox\Parser;
|
2015-05-07 12:37:13 +00:00
|
|
|
|
|
|
|
class SimpleParser implements ExternalParser {
|
|
|
|
public function parseRecursive( $text ) {
|
2015-10-27 13:09:42 +00:00
|
|
|
return $text;
|
2015-05-07 12:37:13 +00:00
|
|
|
}
|
|
|
|
|
2015-05-08 15:57:25 +00:00
|
|
|
public function replaceVariables( $text ) {
|
|
|
|
return $text;
|
|
|
|
}
|
2015-06-01 13:37:56 +00:00
|
|
|
|
2023-07-24 17:13:33 +00:00
|
|
|
public function addImage( $title ): ?string {
|
2021-09-10 02:52:19 +00:00
|
|
|
// do nothing
|
2023-07-24 17:13:33 +00:00
|
|
|
return null;
|
2015-06-01 13:37:56 +00:00
|
|
|
}
|
2015-05-08 15:57:25 +00:00
|
|
|
}
|