RemexHtml/TreeBuilder/TraceFormatter.php
public static function getPrepositionName( $prep ) {
		$names = [
			TreeBuilder::BEFORE => 'before',
			TreeBuilder::UNDER => 'under',
			TreeBuilder::ROOT => 'under root'
		];
		return isset( $names[$prep] ) ? $names[$prep] : '???';
	}
public static function getPrepositionName( $prep ) {
		$names = [
			TreeBuilder::BEFORE => 'before',
			TreeBuilder::UNDER => 'under',
			TreeBuilder::ROOT => 'under root'
		];
		return isset( $names[$prep] ) ? $names[$prep] : '???';
	}
public static function getPrepositionName ( $ prep ) { $ names = [ TreeBuilder :: BEFORE => 'before' , TreeBuilder :: UNDER => 'under' , TreeBuilder :: ROOT => 'under root' ] ; return isset ( $ names [ $ prep ] ) ? $ names [ $ prep ] : '???' ; }
Get a readable version of the TreeBuilder preposition constants
@param int $prep
@return string
Get a readable version of the TreeBuilder preposition constants