src/Language/AST/NodeList.php
public function splice($offset, $length, $replacement = null)
    {
        return new NodeList(array_splice($this->nodes, $offset, $length, $replacement));
    }
public function splice($offset, $length, $replacement = null)
    {
        return new NodeList(array_splice($this->nodes, $offset, $length, $replacement));
    }
public function splice ( $ offset , $ length , $ replacement = null ) { return new NodeList ( array_splice ( $ this -> nodes , $ offset , $ length , $ replacement ) ) ; }
@param int   $offset
@param int   $length
@param mixed $replacement

@return NodeList
@param int $offset @param int $length @param mixed $replacement