protected _validRule ( Ingo_Rule $rule ) : boolean | ||
$rule | Ingo_Rule | The rule object. |
Результат | boolean | Whether the rule is valid for this driver. |
protected function _validRule(Ingo_Rule $rule)
{
return in_array(get_class($rule), array_merge($this->_categories, $this->_actions));
}