Metric
Metric
    class
    Metric        implements
        MetricInterface
        
        
        
                        Methods summary
| Return Type | Method Name | Description | |
|---|---|---|---|
| __construct($systemName, $displayName = null, $type = null, UnitInterface $units = null, UsageInterface $usage = null) | - | ||
| UsageInterface | usage() | - | |
| withUsage(UsageInterface $usage = null) | - | ||
| UnitInterface; | units() | - | |
| string | systemName() | Canonical name to be used by code and between systems | |
| string | displayName() | Name to render in UI to users | |
| string | type() | One of the TYPE_* constants of this instance | 
Details
                            
    __construct ($systemName, $displayName = null, $type = null, UnitInterface $units = null, UsageInterface $usage = null)
        
    
    
                            UsageInterface
    usage ()
        
    
    
                            
    withUsage (UsageInterface $usage = null)
        
    
    
                            UnitInterface;
    units ()
        
    
    
                            string
    systemName ()
        
    
    Canonical name to be used by code and between systems
                            string
    displayName ()
        
    
    Name to render in UI to users
                            string
    type ()
        
    
    One of the TYPE_* constants of this instance