protected function setBlameableBehaviors($behaviors = [])
    {
        $this->blameableLocalBehaviors = $behaviors;
        $cache = $this->getCache();
        if ($cache) {
            $tagDependencyConfig = ['tags' => [$this->getBlameableBehaviorsCacheTag()]];
            $tagDependency = new TagDependency($tagDependencyConfig);
            $cache->set($this->getBlameableBehaviorsCacheKey(), $behaviors, 0, $tagDependency);
        }
    }
protected function setBlameableBehaviors($behaviors = [])
    {
        $this->blameableLocalBehaviors = $behaviors;
        $cache = $this->getCache();
        if ($cache) {
            $tagDependencyConfig = ['tags' => [$this->getBlameableBehaviorsCacheTag()]];
            $tagDependency = new TagDependency($tagDependencyConfig);
            $cache->set($this->getBlameableBehaviorsCacheKey(), $behaviors, 0, $tagDependency);
        }
    }
protected function setBlameableBehaviors ( $ behaviors = [ ] ) { $ this -> blameableLocalBehaviors = $ behaviors ; $ cache = $ this -> getCache ( ) ; if ( $ cache ) { $ tagDependencyConfig = [ 'tags' => [ $ this -> getBlameableBehaviorsCacheTag ( ) ] ] ; $ tagDependency = new TagDependency ( $ tagDependencyConfig ) ; $ cache -> set ( $ this -> getBlameableBehaviorsCacheKey ( ) , $ behaviors , 0 , $ tagDependency ) ; } }
Set blameable behaviors.
@param array $behaviors
Set blameable behaviors .