src/ResultSet.php
public function &offsetGet($n) {
        if(!$this->offsetExists($n)) {
            throw new IndexNotFoundException((string) $n);
        }
        return $this->data[$n];
    }
public function &offsetGet($n) {
        if(!$this->offsetExists($n)) {
            throw new IndexNotFoundException((string) $n);
        }
        return $this->data[$n];
    }
public function & offsetGet ( $ n ) { if ( ! $ this -> offsetExists ( $ n ) ) { throw new IndexNotFoundException ( ( string ) $ n ) ; } return $ this -> data [ $ n ] ; }
Get the nth entry.
@param int $n Index.
@return mixed[] Value.
Get the nth entry .