Set the path part of the URL
array|string $path Path string or array of path segments:
public function setPath($path) {
if (is_array($path)) {
$this->path = '/' . implode('/', $path);
}
else {
if (substr($path, 0, 1) != '/' && $path != '*') {
$path = '/' . $path;
}
$this->path = $path;
}
return $this;
}