Validate
classe Validate (Voir la source)
Méthodes
                    void
                
                
                    __construct(bool $fails, string|null $message = null, array $corrupted_fields = [])
        
                                            
                
            Validate constructor.
                    bool
                
                
                    fails()
        
                                            
                
            Allows to know the status of the validation
                    array
                
                
                    getCorruptedFields()
        
                                            
                
            Informs about fields that could not be validated
                    array
                
                
                    getFailsRules()
        
                                            
                
            The error message on the last commit
                    string
                
                
                    getLastMessage()
        
                                            
                
            The error message on the last commit
                    array
                
                
                    getMessages()
        
                                            
                
            The error message on the last commit
                    void
                
                
                    throwError()
        
                                            
                
            Throw error
Détails
        
                            void
    __construct(bool $fails, string|null $message = null, array $corrupted_fields = [])
        
    
    Validate constructor.
        
                            bool
    fails()
        
    
    Allows to know the status of the validation
        
                            array
    getCorruptedFields()
        
    
    Informs about fields that could not be validated
        
                            array
    getFailsRules()
        
    
    The error message on the last commit
        
                            string
    getLastMessage()
        
    
    The error message on the last commit
        
                            array
    getMessages()
        
    
    The error message on the last commit
        
                            void
    throwError()
        
    
    Throw error