ModelFactory
class ModelFactory (View source)
Model creation factory.
Methods
                    static 
                
                
                    getModelMap()
        
                                            
                
            Retrieve the model map.
                    static ModelInterface
                
                
                    create(array $configuration = array(), string $type = '')
        
                                            
                
            Create a new model.
                    static ModelInterface
                
                
                    createFromJson(array $configuration = '', string $type = '')
        
                                            
                
            Create a new model from JSON.
                    static ModelInterface
                
                
                    callModelCreationMethod(string $method, array $configuration, string $type = '')
        
                                            
                
            Create a new model from using the specified method.
                    static string
                
                
                    getModelType(array $configuration = array(), string $type = '')
        
                                            
                
            Get the model type.
Details
        at line         line 27
                static            
    getModelMap()
        
    
    Retrieve the model map.
        at line         line 42
                static            ModelInterface
    create(array $configuration = array(), string $type = '')
        
    
    Create a new model.
        at line         line 57
                static            ModelInterface
    createFromJson(array $configuration = '', string $type = '')
        
    
    Create a new model from JSON.
        at line         line 74
                static            ModelInterface
    callModelCreationMethod(string $method, array $configuration, string $type = '')
        
    
    Create a new model from using the specified method.
        at line         line 99
                static            string
    getModelType(array $configuration = array(), string $type = '')
        
    
    Get the model type.