yii2 yac cache
适用于Yii2的YacAPI接口类。
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist xutl/yii2-yac
or add
"xutl/yii2-yac": "~1.0.0"
to the require section of your composer.json
file.
To use this extension, you have to configure the Connection class in your application configuration:
return [
//....
'components' => [
'cache' => [
'class' => 'xutl\yac\YacCache',
],
]
];