Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented Oct 7, 2019

// old
$vertices->getVerticesOrder(Vertices::ORDER_ID);

// new
$vertices->getVerticesOrder(function (Vertex $vertex) {
    return $vertex->getId();
});

Among others, this is done in preparation for #114 (also refs #131). Builds on top of #180 and #179.

@clue clue added this to the v1.0.0 milestone Oct 7, 2019
@clue clue merged commit 7be2c14 into graphp:master Oct 7, 2019
@clue clue deleted the no-order-consts branch October 7, 2019 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant