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
Doctrine
OrientDB
Graph
VertexInterface
setPotential
Doctrine\OrientDB\Graph\VertexInterface::setPotential PHP Method
VertexInterface Interface Documentation
Show file
Open project: doctrine/orientdb-odm
setPotential()
public
method
Sets the potential for the vertex, if the vertex has no potential or the one it has is higher than the new one.
public
setPotential
(
integer
$potential
,
Doctrine\OrientDB\Graph\VertexInterface
$from
) :
boolean
$potential
integer
$from
Doctrine\OrientDB\Graph\VertexInterface
return
boolean
public function setPotential($potential, VertexInterface $from);
VertexInterface
connect
getConnections
getId
getPotential
getPotentialFrom
isPassed
markPassed
setPotential