PreconditionService
class PreconditionService (View source)
Service class for installation preconditions.
Properties
| protected Application | $app | The application instance.  | 
                |
| protected Repository | $config | The configuration repository.  | 
                
Methods
                    getPreconditions(bool $includeWebPreconditions = true)
        
                                            
                
            Get the pre-configuration preconditions.
                    getOptionsPreconditions()
        
                                            
                
            Get the post-configuration preconditions.
                    getPreconditionByHandle(string $handle)
        
                                            
                
            Get a precondition given its handle.
                    getPreconditionByClassName(string $className)
        
                                            
                
            Get a precondition given its fully-qualified class name.
                    getAllPreconditions()
        
                                            
                
            Get all the defined preconditions, of any kind.
Details
        
                            
    __construct(Application $app, Repository $config)
        
    
    Initializes the instance.
        
                            PreconditionInterface[]
    getPreconditions(bool $includeWebPreconditions = true)
        
    
    Get the pre-configuration preconditions.
        
                            OptionsPreconditionInterface[]
    getOptionsPreconditions()
        
    
    Get the post-configuration preconditions.
        
                            PreconditionInterface
    getPreconditionByHandle(string $handle)
        
    
    Get a precondition given its handle.
        
                            PreconditionInterface
    getPreconditionByClassName(string $className)
        
    
    Get a precondition given its fully-qualified class name.
        
                        private    PreconditionInterface[]
    getAllPreconditions()
        
    
    Get all the defined preconditions, of any kind.