Contains
class Contains implements Stringable (View source)
Properties
| protected array | $values | The values that should be contained in the attribute.  | 
                
Methods
                    __construct(Arrayable|BackedEnum|UnitEnum|array|string $values)
        
                                            
                
            Create a new contains rule instance.
                    string
                
                
                    __toString()
        
                                            
                
            Convert the rule to a validation string.
Details
        
                            
    __construct(Arrayable|BackedEnum|UnitEnum|array|string $values)
        
    
    Create a new contains rule instance.
        
                            string
    __toString()
        
    
    Convert the rule to a validation string.