Solar_Uri_Public::setPath()
public
void
Solar_Uri_Public::setPath
( string $spec
)
Sets the Solar_Uri::$path array from a string.
Inherited from Solar_Uri.
Parameters
(string)
$spec
: The path string to use; for example, "/foo/bar/baz/dib". A leading slash will not create an empty first element; if the string has a leading slash, it is ignored.
Returns
(void)
Description
Sets the Solar_Uri::$path array from a string.
This will overwrite any previous values. Also, resets the format based on the final path value.