id()
id() : \Pho\Lib\Graph\ID
Returns the unique id of the entity.
The IDs in Pho Kernel are in the form of cryptographically secure UUIDv4. Even at scale of billions of nodes and edges, the chances of collision is identical to zero. The IDs are immutable, therefore there is not a setter method provided.
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 1275Returns
\Pho\Lib\Graph\ID —The ID