示例#1
0
 /**
  * {@inheritdoc}
  */
 public function associativeIntersect(CollectionInterface $collection) : CollectionInterface
 {
     return new self(array_intersect_assoc($this->values, $collection->toPrimitive()));
 }