mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-18 01:07:37 +08:00
Merge pull request #5606 from Frandi1313/guide
In modest my opinion this should be ' : ' instead of ' , ' [skip ci]
This commit is contained in:
@ -208,7 +208,7 @@ Like regular session data, you can store arbitrary data as flash data.
|
|||||||
|
|
||||||
When you call [[yii\web\Session::setFlash()]], it will overwrite any existing flash data that has the same name.
|
When you call [[yii\web\Session::setFlash()]], it will overwrite any existing flash data that has the same name.
|
||||||
To append new flash data to the existing one(s) of the same name, you may call [[yii\web\Session::addFlash()]] instead.
|
To append new flash data to the existing one(s) of the same name, you may call [[yii\web\Session::addFlash()]] instead.
|
||||||
For example,
|
For example:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
$session = Yii::$app->session;
|
$session = Yii::$app->session;
|
||||||
|
Reference in New Issue
Block a user