public static function in($values)
    {
        if ($values instanceof Arrayable) {
            $values = $values->toArray();
        }

        return new Rules\In(is_array($values) ? $values : func_get_args());
    }
public static function in($values)
    {
        if ($values instanceof Arrayable) {
            $values = $values->toArray();
        }

        return new Rules\In(is_array($values) ? $values : func_get_args());
    }
public static function in ( $ values ) { if ( $ values instanceof Arrayable ) { $ values = $ values -> toArray ( ) ; } return new Rules \ In ( is_array ( $ values ) ? $ values : func_get_args ( ) ) ; }
Get an in constraint builder instance.

@param  \Illuminate\Contracts\Support\Arrayable|array|string  $values
@return \Illuminate\Validation\Rules\In
Get an in constraint builder instance .