Return the union of this RDD and another one

PHP
# union(other)

rdd = sc.parallelize([1, 1, 2, 3])
rdd.union(rdd).collect()
#  [1, 1, 2, 3, 1, 1, 2, 3]
Source

Also in PHP: