Overtrue\Validation\Validator::presentOrRuleIsImplicit PHP Method

presentOrRuleIsImplicit() protected method

Determine if the field is present, or the rule implies required.
protected presentOrRuleIsImplicit ( string $rule, string $attribute, mixed $value ) : boolean
$rule string
$attribute string
$value mixed
return boolean
    protected function presentOrRuleIsImplicit($rule, $attribute, $value)
    {
        return $this->validateRequired($attribute, $value) || $this->isImplicit($rule);
    }
Validator