コード例 #1
0
ファイル: Collection.php プロジェクト: chippyash/monad
 /**
  * Return a Collection that is the union of the values of this Collection
  * and the other Collection using the keys for comparison
  *
  * @param Collection $other
  *
  * @return Collection
  */
 public function kUnion(Collection $other)
 {
     return new static($this->getArrayCopy() + $other->getArrayCopy(), $this->type);
 }