StatsContent
        
        extends Model
    
    
            
    
            
            implements
                            Entity                    
    
            
            Uses
                            HasEntity                    
    
        
        
    
    
                                    - 
                    mixin
                
 
                - 
                                                                                
                                                 
                                    
 
                                            
    Table of Contents
    
    
        Interfaces
        
    
    
                    - Entity
 - Interface Entity.
     
    Constants
    
            - 
    ENTITY_TYPE
    
         = 'stat_content'                            
 
            - 
    STAT_PERIOD_FIVE_MINUTE
    
         = '5m'                            
 
            - 
    STAT_PERIOD_ONE_DAY
    
         = '1d'                            
 
            - 
    STAT_PERIOD_ONE_HOUR
    
         = '1h'                            
 
            - 
    STAT_PERIOD_ONE_MONTH
    
         = '1M'                            
 
            - 
    STAT_PERIOD_ONE_WEEK
    
         = '1w'                            
 
            - 
    STAT_PERIOD_ONE_YEAR
    
         = '1y'                            
 
    
    Properties
    
            - 
    $created_at
    
                         : string            
 
            - 
    $group
    
                         : string            
 
            - 
    $id
    
                         : int            
 
            - 
    $label
    
                         : string            
 
            - 
    $name
    
                         : string            
 
            - 
    $period
    
                         : string|null            
 
            - 
    $timestamps
    
                         : mixed            
 
            - 
    $value
    
                         : string            
 
            - 
    $fillable
    
                         : mixed            
 
            - 
    $table
    
                         : mixed            
 
    
    Methods
    
            - 
    entityId()
    
                                 : int    
 
            - 
    entityType()
    
                                 : string    
 
            - 
    getLabelAttribute()
    
                                 : string    
 
            - 
    moduleName()
    
                                 : string    
 
    
        
    
        
                    
    
        ENTITY_TYPE
        
    
    
    
    
    public
        mixed
    ENTITY_TYPE
    = 'stat_content'
    
    
    
                    
    
        STAT_PERIOD_FIVE_MINUTE
        
    
    
    
    
    public
        mixed
    STAT_PERIOD_FIVE_MINUTE
    = '5m'
    
    
    
                    
    
        STAT_PERIOD_ONE_DAY
        
    
    
    
    
    public
        mixed
    STAT_PERIOD_ONE_DAY
    = '1d'
    
    
    
                    
    
        STAT_PERIOD_ONE_HOUR
        
    
    
    
    
    public
        mixed
    STAT_PERIOD_ONE_HOUR
    = '1h'
    
    
    
                    
    
        STAT_PERIOD_ONE_MONTH
        
    
    
    
    
    public
        mixed
    STAT_PERIOD_ONE_MONTH
    = '1M'
    
    
    
                    
    
        STAT_PERIOD_ONE_WEEK
        
    
    
    
    
    public
        mixed
    STAT_PERIOD_ONE_WEEK
    = '1w'
    
    
    
                    
    
        STAT_PERIOD_ONE_YEAR
        
    
    
    
    
    public
        mixed
    STAT_PERIOD_ONE_YEAR
    = '1y'
    
    
    
            
        
    
        
                    
    
        $created_at
        
        
                                
    
    
    
    
    public
        string
    $created_at
    
    
    
    
                    
    
        $group
        
        
                                
    
    
    
    
    public
        string
    $group
    
    
    
    
                    
    
        $id
        
        
                                
    
    
    
    
    public
        int
    $id
    
    
    
    
                    
    
        $label
        
        
                                
    
    
    
    
    public
        string
    $label
    
    
    
    
                    
    
        $name
        
        
                                
    
    
    
    
    public
        string
    $name
    
    
    
    
                    
    
        $period
        
        
                                
    
    
    
    
    public
        string|null
    $period
    
    
    
    
                    
    
        $timestamps
        
        
                                
    
    
    
    
    public
        mixed
    $timestamps
     = false
    
    
    
                    
    
        $value
        
        
                                
    
    
    
    
    public
        string
    $value
    
    
    
    
                    
    
        $fillable
        
        
                                
    
    
    
    
    protected
        mixed
    $fillable
     = ['name', 'label', 'value', 'period', 'created_at', 'group']
    
    
    
                    
    
        $table
        
        
                                
    
    
    
    
    protected
        mixed
    $table
     = 'core_stats_contents'
    
    
    
            
            
        
                    
    
        entityId()
        
    
    
    
    
    public
                    entityId() : int
    
        
    
    
    
            
                    
    
        entityType()
        
    
    
    
    
    public
                    entityType() : string
    
        
    
    
    
            
                    
    
        getLabelAttribute()
        
    
    
    
    
    public
                    getLabelAttribute(string $value) : string
    
        
    
        Parameters
    
                    - 
                $value
                : string
                            
 
            - 
                
            
 
            
    
            
                    
    
        moduleName()
        
    
    
    
    
    public
                    moduleName() : string