Download the PHP package mikk150/yii2-tagdependency-invalidator without Composer
On this page you can find all versions of the php package mikk150/yii2-tagdependency-invalidator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mikk150/yii2-tagdependency-invalidator
More information about mikk150/yii2-tagdependency-invalidator
Files in mikk150/yii2-tagdependency-invalidator
Download mikk150/yii2-tagdependency-invalidator
More information about mikk150/yii2-tagdependency-invalidator
Files in mikk150/yii2-tagdependency-invalidator
Vendor mikk150
Package yii2-tagdependency-invalidator
Short Description Invalidates Yii2's TagDependency tags on model update/delete and insert
License GPL-2.0
Package yii2-tagdependency-invalidator
Short Description Invalidates Yii2's TagDependency tags on model update/delete and insert
License GPL-2.0
Please rate this library. Is it a good library?
Informations about the package yii2-tagdependency-invalidator
Yii2 tagdependency invalidation behavior
Usage
To use this behavior, add it to model's or components behaviors model
then where you want to use cached models, just do this
if BaseActiveRecord::EVENT_AFTER_UPDATE
, BaseActiveRecord::EVENT_AFTER_INSERT
or BaseActiveRecord::EVENT_AFTER_DELETE
is triggered, then cache is automatically invalidated for this model based on key rules
additionally, you can also clear cache by executing invalidate()
on model1
All versions of yii2-tagdependency-invalidator with dependencies
PHP Build Version
Package Version
Requires
yiisoft/yii2 Version
~2.0.0
The package mikk150/yii2-tagdependency-invalidator contains the following files
Loading the files please wait ....