StructWrapperValidator
        StructWrapperValidator.php
                :
        20
                
    
                                Final
                
        
                    
                Implements
                                    ValidatorInterface                            
        
                Methods¶
                
__construct()
            ¶
    
        
        StructWrapperValidator.php
                :
        24
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $inner | ValidatorInterface | - | - | 
                
getMetadataFor()
            ¶
    
        
        StructWrapperValidator.php
                :
        29
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $value | mixed | - | - | 
Return values
MetadataInterface
                
hasMetadataFor()
            ¶
    
        
        StructWrapperValidator.php
                :
        34
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $value | mixed | - | - | 
Return values
bool
                
inContext()
            ¶
    
        
        StructWrapperValidator.php
                :
        91
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $context | ExecutionContextInterface | - | - | 
Return values
ContextualValidatorInterface
                
startContext()
            ¶
    
        
        StructWrapperValidator.php
                :
        86
                
    
        | 
                     | 
                
                    
                     | 
            
Return values
ContextualValidatorInterface
                
validate()
            ¶
    
        
        StructWrapperValidator.php
                :
        39
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $value | mixed | - | - | 
| $constraints | Constraint|array<string|int, mixed>|null | null | - | 
| $groups | mixed | null | - | 
Return values
ConstraintViolationListInterface
                
validateProperty()
            ¶
    
        
        StructWrapperValidator.php
                :
        76
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $object | object | - | - | 
| $propertyName | string | - | - | 
| $groups | mixed | null | - | 
Return values
ConstraintViolationListInterface
                
validatePropertyValue()
            ¶
    
        
        StructWrapperValidator.php
                :
        81
                
    
        | 
                     | 
                
                    
                     | 
            
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $objectOrClass | mixed | - | - | 
| $propertyName | string | - | - | 
| $value | mixed | - | - | 
| $groups | mixed | null | - | 
Return values
ConstraintViolationListInterface