DevGroup-ru/yii2-tag-dependency-helper

View on GitHub
src/LazyCache.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace DevGroup\TagDependencyHelper;

use Yii;
use yii\base\Behavior;

/**
 * LazyCache behavior.
 * Add it to your cache component, for example in your config:
 *
 * ```php
 * 'components' => [
 *      'cache' => [
 *          'class' => 'yii\caching\Memcache',
 *          'as lazy' => [
 *              'class' => 'DevGroup\TagDependencyHelper\LazyCache',
 *          ],
 *      ],
 * ],
 *
 * ```
 *
 *
 * @package DevGroup\TagDependencyHelper
 */
class LazyCache extends Behavior
{
    use LazyCacheTrait;
}