SelectField
class SelectField extends Field (View source)
Properties
| protected string | $key | from Field | |
| protected string | $label | from Field | |
| protected string | $description | from Field | |
| protected bool | $isRequired | from Field | |
| protected array | $options | 
Methods
                    __construct(string $key, string $label, string $description, array $options, bool $isRequired = false)
        
                                            
                
            No description
                    bool
                
                
                
            
                    FieldInterface|null
                
                
                    loadFieldFromConsoleInput(InputInterface $consoleInput)
        
                                            
                No description
from 
Field
            
                    jsonSerialize()
        
                                            
                
            No description
                    array
                
                
                    getOptions()
        
                                            
                
            No description
                    getConsoleDescription()
        
                                            
                
            No description
Details
        
                            
    __construct(string $key, string $label, string $description, array $options, bool $isRequired = false)
        
    
    No description
        in 
Field at line 47
                            string
    getKey()
        
    
    No description
        in 
Field at line 55
                            string
    getLabel()
        
    
    No description
        in 
Field at line 63
                            string
    getDescription()
        
    
    No description
        
                            bool
    isValid(FieldInterface $loadedField)
        
    
    No description
        in 
Field at line 76
                            FieldInterface|null
    loadFieldFromRequest(array $data)
        
    
    No description
        in 
Field at line 81
                            FieldInterface|null
    loadFieldFromConsoleInput(InputInterface $consoleInput)
        
    
    No description
        in 
Field at line 99
                            bool
    isRequired()
        
    
    No description
        
                            
    jsonSerialize()
        
    
    No description
        
                            
    addToCommand(TaskCommand $command)
        
    
    No description
        
                            array
    getOptions()
        
    
    No description
        
                    protected        
    getConsoleDescription()
        
    
    No description