protected function isNotNullIfMarkedAsNullable($rule, $attribute)
    {
        if ($this->isImplicit($rule) || ! $this->hasRule($attribute, ['Nullable'])) {
            return true;
        }

        return ! is_null(Arr::get($this->data, $attribute, 0));
    }
protected function isNotNullIfMarkedAsNullable($rule, $attribute)
    {
        if ($this->isImplicit($rule) || ! $this->hasRule($attribute, ['Nullable'])) {
            return true;
        }

        return ! is_null(Arr::get($this->data, $attribute, 0));
    }
protected function isNotNullIfMarkedAsNullable ( $ rule , $ attribute ) { if ( $ this -> isImplicit ( $ rule ) || ! $ this -> hasRule ( $ attribute , [ 'Nullable' ] ) ) { return true ; } return ! is_null ( Arr :: get ( $ this -> data , $ attribute , 0 ) ) ; }
Determine if the attribute fails the nullable check.

@param  string  $rule
@param  string  $attribute
@return bool
Determine if the attribute fails the nullable check .