blob: fb0e0b63f097670dfd91f7c60c34e059c31120f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<?php
declare( strict_types = 1 );
namespace MediaWiki\Extension\Translate\PageTranslation;
use MediaWiki\Extension\Translate\Utilities\ParsingPlaceholderFactory;
/**
* @author Niklas Laxström
* @license GPL-2.0-or-later
* @since 2020.08
*/
class TestingParsingPlaceholderFactory extends ParsingPlaceholderFactory {
private $i = 0;
public function make(): string {
return '<' . $this->i++ . '>';
}
}
|