Example #1
0
 /**
  * {@inheritdoc}
  */
 public function associativeIntersect(CollectionInterface $collection) : CollectionInterface
 {
     $this->validateCollection($collection);
     return new self($this->type, parent::associativeIntersect($collection)->toPrimitive());
 }