removeRule() protected method

protected removeRule ( $rule )
Exemplo n.º 1
0
 /**
  * @inheritdoc
  */
 protected function removeRule($rule)
 {
     parent::removeRule($rule);
     if ($this->_rules !== null) {
         unset($this->_rules[$rule->name]);
     }
     $this->_items = null;
     $this->invalidate([self::PART_ITEMS, self::PART_RULES]);
     return true;
 }