web\UrlNormalizer normalizeTrailingSlash()

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.

doc_Yii
2016-10-30 17:17:06
Comments
Leave a Comment

Please login to continue.