E
E
evilelf2019-01-15 15:52:06
Yii
evilelf, 2019-01-15 15:52:06

How to properly work with ExpressionDependency and ChainedDependency in yii2?

Hello.
I can't figure out how to work with \yii\caching\ExpressionDependency and \yii\caching\ChainedDependency?
Who faced, write examples.
I want to automatically flush the cache in different places.
Please don't suggest me to use \Yii::$app->cache->delete()and \Yii::$app->cache->flush()
Thank you all for your replies!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vyachin, 2019-01-15
@vyachin

https://www.yiiframework.com/doc/api/2.0/yii-cachi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question