src/Text.php
public static function join(array $pieces, $glue = '', $encoding = null) {
		return new Text(implode($pieces, $glue), $encoding);
	}
public static function join(array $pieces, $glue = '', $encoding = null) {
		return new Text(implode($pieces, $glue), $encoding);
	}
public static function join ( array $ pieces , $ glue = '' , $ encoding = null ) { return new Text ( implode ( $ pieces , $ glue ) , $ encoding ) ; }
Join array elements with a string

@param array $pieces The array of strings to join.
@param string $glue Defaults to an empty string.
@param string $encoding the desired encoding
@return Text
Returns a string containing a string representation of all the array elements in the
same order, with the glue string between each element.
Join array elements with a string