WidgetResult
Read onlyYes
    FinalYes
Widget rendering result containing content and metadata.
This readonly value object represents the result of widget rendering, containing the rendered HTML content and additional metadata about the widget's capabilities and state.
The result includes:
- HTML content to be displayed in the dashboard
- Optional custom label overriding the widget's default title
- Refreshable flag indicating whether the widget supports refresh operations
Table of Contents
Properties
- $content : string
- $label : string|null
- $refreshable : bool
Methods
- __construct() : mixed
Properties
$content
        public
            string
    $content
    
    
    
    
    
    
$label
        public
            string|null
    $label
     = null
    
    
    
    
    
$refreshable
        public
            bool
    $refreshable
     = false
    
    
    
    
    
Methods
__construct()
    public
                    __construct(string $content[, string|null $label = null ][, bool $refreshable = false ]) : mixed
    Parameters
- $content : string
- $label : string|null = null
- $refreshable : bool = false