Example #1
0
 /**
  * {@inheritdoc}
  */
 public function splice(int $offset, int $length = 0, $replacement = []) : CollectionInterface
 {
     return new self($this->type, parent::splice($offset, $length, $replacement)->toPrimitive());
 }