Field
class Field implements FieldInterface (View source)
Properties
| protected string | $key | ||
| protected string | $label | ||
| protected string | $description | ||
| protected bool | $isRequired | 
Methods
                    __construct(string $key, string $label, string $description, bool $isRequired = false)
        
                                            
                
            No description
                    string
                
                
                    getKey()
        
                                            
                
            No description
                    string
                
                
                    getLabel()
        
                                            
                
            No description
                    string
                
                
                    getDescription()
        
                                            
                
            No description
                    bool
                
                
                
            
                    FieldInterface|null
                
                
                    loadFieldFromRequest(array $data)
        
                                            
                
            No description
                    FieldInterface|null
                
                
                    loadFieldFromConsoleInput(InputInterface $consoleInput)
        
                                            
                
            No description
                    bool
                
                
                    isRequired()
        
                                            
                
            No description
                    jsonSerialize()
        
                                            
                
            No description
Details
        
                            
    __construct(string $key, string $label, string $description, bool $isRequired = false)
        
    
    No description
        
                            string
    getKey()
        
    
    No description
        
                            string
    getLabel()
        
    
    No description
        
                            string
    getDescription()
        
    
    No description
        
                            bool
    isValid(FieldInterface $loadedField)
        
    
    No description
        
                            FieldInterface|null
    loadFieldFromRequest(array $data)
        
    
    No description
        
                            FieldInterface|null
    loadFieldFromConsoleInput(InputInterface $consoleInput)
        
    
    No description
        
                            bool
    isRequired()
        
    
    No description
        
                            
    jsonSerialize()
        
    
    No description
        
                            
    addToCommand(TaskCommand $command)
        
    
    No description