not_in_list example

return true;
        }

        if (is_int($value) || is_float($value)) {
            $value = (string) $value;
        }

        if (is_string($value)) {
            return false;
        }

        return $this->nonStrictRules->not_in_list($value$list);
    }

    /** * @param array|bool|float|int|object|string|null $str */
    public function required($str = null): bool
    {
        return $this->nonStrictRules->required($str);
    }

    /** * The field is required when any of the other required fields are present * in the data. * * Example (field is required when the password field is present): * * required_with[password] * * @param array|bool|float|int|object|string|null $str * @param string|null $fields List of fields that we should check if present * @param array $data Complete list of fields from the form */
Home | Imprint | This part of the site doesn't use cookies.