MetaFoxPasswordValidationRule
    
            
            in package
            
        
    
            
            implements
                            Rule,                             DataAwareRule                    
    
    
Class MetaFoxPasswordValidationRule.
Table of Contents
Interfaces
- Rule
 - DataAwareRule
 
Properties
Methods
- __construct() : mixed
 - message() : string
 - Get the validation error message.
 - passes() : bool
 - Determine if the validation rule passes.
 - setData() : $this
 - Set the data under validation.
 - validatePassword() : mixed
 
Properties
$context
    protected
        User
    $context
    
    
    
    
$data
    protected
        array<string|int, mixed>
    $data
     = []
    
    
    
Methods
__construct()
    public
                    __construct(User $context) : mixed
    Parameters
- $context : User
 
message()
Get the validation error message.
    public
                    message() : string
    Return values
stringpasses()
Determine if the validation rule passes.
    public
                    passes(string $attribute, mixed $value) : bool
    Parameters
- $attribute : string
 - $value : mixed
 
Tags
Return values
boolsetData()
Set the data under validation.
    public
                    setData(array<string|int, mixed> $data) : $this
    Parameters
- $data : array<string|int, mixed>
 
Return values
$thisvalidatePassword()
    private
                    validatePassword(array<string|int, mixed> $params) : mixed
    Parameters
- $params : array<string|int, mixed>