SizeValue
class SizeValue extends Value (View source)
Properties
| protected string | $variable | The name of the LESS variable.  | 
                from Value | 
| protected mixed | $size | The numeric amount of the size.  | 
                |
| protected string | $unit | The unit of the size.  | 
                
Methods
Get the CSS representation of this value.
Get the LESS representation of this variable and associated values.
Set the numeric amount of the size.
Set the unit of the size.
Get the numeric amount of the size.
Get the unit of the size.
Does this value has the numeric amount of the size?
Details
        in 
Value at line 19
                            
    __construct(string $variable = '')
        
    
    Initialize the instance.
        in 
Value at line 29
                            string
    getVariable()
        
    
    Get the name of the LESS variable.
        
                            string
    toStyleString()
        
    
    Get the CSS representation of this value.
        
                            array
    toLessVariablesArray()
        
    
    Get the LESS representation of this variable and associated values.
        
                            $this
    setSize(mixed $size)
        
    
    Set the numeric amount of the size.
        
                            $this
    setUnit(string $unit)
        
    
    Set the unit of the size.
        
                            mixed
    getSize()
        
    
    Get the numeric amount of the size.
        
                            string
    getUnit()
        
    
    Get the unit of the size.
        
                            string
    getUnits()
        deprecated
    
    deprecated
No description
        
                            bool
    hasSize()
        
    
    Does this value has the numeric amount of the size?