public function getEdgeLast()
    {
        if (!$this->edges) {
            throw new UnderflowException('Does not contain any edges');
        }
        end($this->edges);

        return current($this->edges);
    }
public function getEdgeLast()
    {
        if (!$this->edges) {
            throw new UnderflowException('Does not contain any edges');
        }
        end($this->edges);

        return current($this->edges);
    }
public function getEdgeLast ( ) { if ( ! $ this -> edges ) { throw new UnderflowException ( 'Does not contain any edges' ) ; } end ( $ this -> edges ) ; return current ( $ this -> edges ) ; }
return last Edge in this set of Edges

@return Edge               last Edge in this set of Edges
@throws UnderflowException if set is empty
return last Edge in this set of Edges