summaryrefslogtreecommitdiff
blob: b8a555c9045435df057ae9983caf03e93e73cce9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/**
 * Contains code for inner items which render as empty strings.
 *
 * @file
 * @license GPL-2.0-or-later
 */

namespace MediaWiki\Babel\BabelBox;

/**
 * Class for inner items which render as empty strings.
 */
class NullBabelBox implements BabelBox {

	/**
	 * Return the babel box code.
	 *
	 * @return string Empty string
	 */
	public function render() {
		return '';
	}

	/**
	 * @return string[]
	 */
	public function getCategories() {
		return [];
	}

}