public function get($index)
    {
        $result = \array_slice($this->nodes, $index, 1); // note: index can be negative
        if (\count($result) > 0) {
            return $result[0];
        }

        return null; // return null if no result for key
    }
public function get($index)
    {
        $result = \array_slice($this->nodes, $index, 1); // note: index can be negative
        if (\count($result) > 0) {
            return $result[0];
        }

        return null; // return null if no result for key
    }
public function get ( $ index ) { $ result = \ array_slice ( $ this -> nodes , $ index , 1 ) ; // note: index can be negative if ( \ count ( $ result ) > 0 ) { return $ result [ 0 ] ; } return null ; // return null if no result for key }
Grants access to the DOM nodes of this instance

@param int $index

@return \DOMNode|null
Grants access to the DOM nodes of this instance