diff --git a/src/Node/NodeInterface.php b/src/Node/NodeInterface.php
index <HASH>..<HASH> 100644
--- a/src/Node/NodeInterface.php
+++ b/src/Node/NodeInterface.php
@@ -8,4 +8,9 @@ interface NodeInterface
      * @return string
      */
     public function __toString();
+
+    /**
+     * @return string
+     */
+    public function getPath();
 }
Make sure getPath is part of the interface