public function splice($offset = 0, $length = 0, $replacement = [])
    {
        return new static(array_splice($this->elements, $offset, $length, $replacement));
    }
public function splice($offset = 0, $length = 0, $replacement = [])
    {
        return new static(array_splice($this->elements, $offset, $length, $replacement));
    }
public function splice ( $ offset = 0 , $ length = 0 , $ replacement = [ ] ) { return new static ( array_splice ( $ this -> elements , $ offset , $ length , $ replacement ) ) ; }
Splice and return new collection from current elements

@param int $offset
@param int $length
@param array|mixed $replacement
@return static
Splice and return new collection from current elements