Ingo_Script_Base::_validRule PHP Method

_validRule() protected method

Is this a valid rule?
protected _validRule ( Ingo_Rule $rule ) : boolean
$rule Ingo_Rule The rule object.
return 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));
    }