<?php

namespace React\Filesystem\Node;

interface NodeInterface
{
    /**
     * @return string
     */
    public function __toString();
}

<?php

namespace React\Filesystem\Node;

interface NodeInterface
{
    /**
     * @return string
     */
    public function __toString();

    /**
     * @return string
     */
    public function getPath();
}

Make sure getPath is part of the interface
Make sure getPath is part of the interface
