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