mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
Global DOCS update: ~~~ replaced with ```
This commit is contained in:
@ -24,12 +24,12 @@ use yii\di\Instance;
|
||||
* The following example shows how you can configure the application to use CacheSession:
|
||||
* Add the following to your application config under `components`:
|
||||
*
|
||||
* ~~~
|
||||
* ```php
|
||||
* 'session' => [
|
||||
* 'class' => 'yii\web\CacheSession',
|
||||
* // 'cache' => 'mycache',
|
||||
* ]
|
||||
* ~~~
|
||||
* ```
|
||||
*
|
||||
* @property boolean $useCustomStorage Whether to use custom storage. This property is read-only.
|
||||
*
|
||||
|
Reference in New Issue
Block a user