public function getPath()
    {
        $stack = array($this->getName());
        $current = $this;

        while ($parent = $current->getParent()) {
            array_unshift($stack, $parent->getName());
            $current = $parent;
        }

        return implode('/', $stack);
    }