$normalizer public property (available since version 2.0.10)
The configuration for yii\web\UrlNormalizer used by this UrlManager. The default value is false
, which means normalization will be skipped. If you wish to enable URL normalization, you should configure this property manually. For example:
[ 'class' => 'yii\web\UrlNormalizer', 'collapseSlashes' => true, 'normalizeTrailingSlash' => true, ]
public yii\web\UrlNormalizer|array|string|false $normalizer = false
Please login to continue.