Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented Jan 5, 2020

// still supported
$vertex = $graph->createVertex()->setAttribute('id', 10);

// recommended alternative
$vertex = $graph->createVertex(array('id' => 10));

Builds on top of #182 and #185

@clue clue added this to the v1.0.0 milestone Jan 5, 2020
@clue clue merged commit c690f6d into graphp:master Jan 5, 2020
@clue clue deleted the ctor-attributes branch January 5, 2020 17:13
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