/**
  * Normalizes the given node path to a reference path and returns an absolute path.
  *
  * @param string $path The non-normalized path
  * @param string $referencePath a reference path in case the given path is relative.
  * @return string The normalized absolute path
  * @throws \InvalidArgumentException if your node path contains two consecutive slashes.
  */
 public function normalizePath($path, $referencePath = null)
 {
     return NodePaths::normalizePath($path, $referencePath);
 }