normalizeTrailingSlash() protected method
Adds or removes trailing slashes from $pathInfo depending on whether the $suffix has a trailing slash or not.
protected string normalizeTrailingSlash ( $pathInfo, $suffix ) | ||
---|---|---|
$pathInfo | string |
Raw path info. |
$suffix | string | |
return | string |
Normalized path info. |
Please login to continue.