$instance
$instance :
For easy maintenance of TailNode and HeadNode classes.
Edges must have both source and target nodes that behave exactly the same. This class is created to make the portability of TailNode and HeadNode classes easy.
This class and its subclasses follow tbe Proxy pattern.
set(\Pho\Lib\Graph\NodeInterface $node) : void
Sets the node instance that this
\Pho\Lib\Graph\NodeInterface | $node |
node() : \Pho\Lib\Graph\NodeInterface
Retrieves the node represented
In light of Proxy pattern, adjacent nodes represent an actual node, and pass any incoming method calls to that object. This function returns the actual node.
Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in phar:///Users/emresokullu/Code/website/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275