Overtrue\Validation\Validator::isValidatable PHP Method

isValidatable() protected method

Determine if the attribute is validatable.
protected isValidatable ( string $rule, string $attribute, mixed $value ) : boolean
$rule string
$attribute string
$value mixed
return boolean
    protected function isValidatable($rule, $attribute, $value)
    {
        return $this->presentOrRuleIsImplicit($rule, $attribute, $value) && $this->passesOptionalCheck($attribute);
    }
Validator