public static function encodeUrlSafe($data) {
		$encoded = self::encode($data);

		return \strtr(
			$encoded,
			self::LAST_THREE_STANDARD,
			self::LAST_THREE_URL_SAFE
		);
	}
public static function encodeUrlSafe($data) {
		$encoded = self::encode($data);

		return \strtr(
			$encoded,
			self::LAST_THREE_STANDARD,
			self::LAST_THREE_URL_SAFE
		);
	}
public static function encodeUrlSafe ( $ data ) { $ encoded = self :: encode ( $ data ) ; return \ strtr ( $ encoded , self :: LAST_THREE_STANDARD , self :: LAST_THREE_URL_SAFE ) ; }
Encodes the supplied data to a URL-safe variant of Base64

@param mixed $data
@return string
@throws EncodingError if the input has been invalid
Encodes the supplied data to a URL - safe variant of Base64