src/Services/MenuCaller.php
public function setPath($path)
    {
        $this->path = trim($path, '/');

        if(empty($this->path)) {
            // Home page requested so let's use /node
            $this->path = 'node';
        }

        return $this;
    }
public function setPath($path)
    {
        $this->path = trim($path, '/');

        if(empty($this->path)) {
            // Home page requested so let's use /node
            $this->path = 'node';
        }

        return $this;
    }
Set public path.

@param $path
@return $this