src/main/php/Rootpath.php
public function to(string ...$pathParts): string
    {
        return $this->rootpath . DIRECTORY_SEPARATOR . join(DIRECTORY_SEPARATOR, $pathParts);
    }
public function to(string ...$pathParts): string
    {
        return $this->rootpath . DIRECTORY_SEPARATOR . join(DIRECTORY_SEPARATOR, $pathParts);
    }
public function to ( string ... $ pathParts ) : string { return $ this -> rootpath . DIRECTORY_SEPARATOR . join ( DIRECTORY_SEPARATOR , $ pathParts ) ; }
returns absolute path to given local path

Supports arbitrary lists of arguments, e.g.
<code>$rootpath->to('src', 'main', 'php', 'Example.php')</code>
will return "path/to/root/src/main/php/Example.php".

@param   string...  $pathParts
@return  string
returns absolute path to given local path