Property | Type | Description | |
---|---|---|---|
$from | |||
$to |
Method | Description | |
---|---|---|
__construct ( |
Since edge has one source vertex and one target vertex it is builded with two vertices in its constructor | |
getSource ( ) : |
Get the source vertex | |
getTarget ( ) : |
Get the target vertex |
public __construct ( |
||
$from | ||
$to |