FileExistingValidator
class FileExistingValidator implements ValidatorInterface (View source)
Constants
| VALIDATOR_PRIORITY | 
                     
  | 
            
Properties
| protected ValidationService | $validationService | 
Methods
                    $this
                
                
                
            
                    int
                
                
                    getValidationPriority()
        
                                            
                
            Get the priority of this validator.
                    bool
                
                
                    shouldValidate(ImportingFile $file, ImportOptions $options)
        
                                            
                
            Check if this validator should validate a file being imported.
Details
        
                            
    __construct(ValidationService $validationService)
        
    
    No description
        
                            $this
    readConfiguration(Repository $config)
        
    
    Initialize the processor from the configured values.
        
                            int
    getValidationPriority()
        
    
    Get the priority of this validator.
        
                            bool
    shouldValidate(ImportingFile $file, ImportOptions $options)
        
    
    Check if this validator should validate a file being imported.
        
                            
    validate(ImportingFile $file, ImportOptions $options)
        
    
    Validate a file being imported.