public function getRelativePath()
    {
        $root = $this;
        while ($root->getParent() != null) {
            $root = $root->getParent();
        }

        return substr($this->path, strlen($root->getPath()) + 1);
    }
public function getRelativePath()
    {
        $root = $this;
        while ($root->getParent() != null) {
            $root = $root->getParent();
        }

        return substr($this->path, strlen($root->getPath()) + 1);
    }
public function getRelativePath ( ) { $ root = $ this ; while ( $ root -> getParent ( ) != null ) { $ root = $ root -> getParent ( ) ; } return substr ( $ this -> path , strlen ( $ root -> getPath ( ) ) + 1 ) ; }
Get the path to the file from the root of the documentation

@return string
Get the path to the file from the root of the documentation