Is there any convenience method that allows me to concatenate two Doctrine ArrayCollection()? something like:
ArrayCollection()
$collection1 = new ArrayCollection
You can simply do:
$a = new ArrayCollection(); $b = new ArrayCollection(); ... $c = new ArrayCollection(array_merge((array) $a, (array) $b));