widgets\FragmentCache $variations

$variations public property

List of factors that would cause the variation of the content being cached. Each factor is a string representing a variation (e.g. the language, a GET parameter). The following variation setting will cause the content to be cached in different versions according to the current application language:

[
    Yii::$app->language,
]
public array $variations = null
doc_Yii
2016-10-30 17:18:19
Comments
Leave a Comment

Please login to continue.