protected function setBlameableRules($rules = [])
    {
        $this->blameableLocalRules = $rules;
        $cache = $this->getCache();
        if ($cache) {
            $tagDependency = new TagDependency(['tags' => [$this->getBlameableRulesCacheTag()]]);
            $cache->set($this->getBlameableRulesCacheKey(), $rules, 0, $tagDependency);
        }
    }
protected function setBlameableRules($rules = [])
    {
        $this->blameableLocalRules = $rules;
        $cache = $this->getCache();
        if ($cache) {
            $tagDependency = new TagDependency(['tags' => [$this->getBlameableRulesCacheTag()]]);
            $cache->set($this->getBlameableRulesCacheKey(), $rules, 0, $tagDependency);
        }
    }
protected function setBlameableRules ( $ rules = [ ] ) { $ this -> blameableLocalRules = $ rules ; $ cache = $ this -> getCache ( ) ; if ( $ cache ) { $ tagDependency = new TagDependency ( [ 'tags' => [ $ this -> getBlameableRulesCacheTag ( ) ] ] ) ; $ cache -> set ( $ this -> getBlameableRulesCacheKey ( ) , $ rules , 0 , $ tagDependency ) ; } }
Set blameable rules.
@param array $rules
Set blameable rules .