Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Gliph
Graph
MutableVertexSet
ensureVertex
Gliph\Graph\MutableVertexSet::ensureVertex PHP Method
MutableVertexSet Interface Documentation
Show file
Open project: sdboyer/gliph
ensureVertex()
public
method
Gliph requires that its graph vertices be objects; beyond that, it does not care about vertex type.
public
ensureVertex
(
object
$vertex
) :
Gliph\Graph\Graph
$vertex
object
An object to use as a vertex in the graph.
return
Gliph\Graph\Graph
The current graph instance.
public function ensureVertex($vertex);
MutableVertexSet
ensureVertex
removeVertex