$uri->setSlash()
Set if a trailing slash should be added to the path when the URI is being built
Parameters
Name | Type | Default |
---|---|---|
$slash | bool |
false |
Return type
This method modifies the existing $uri
object it is applied to and returns it again.