SidebarComponentResult
final readonly class \
- Implements
- JsonSerializable
Result object for sidebar component rendering.
This class provides a structured response format that can be consistently evaluated on both PHP and JavaScript sides.
Internal
Table of Contents
Interfaces
- JsonSerializable
Properties
- $html : string
- $identifier : string
- $module : string
Methods
- __construct() : mixed
- jsonSerialize() : array
Properties
$html
public
string
$html
$identifier
public
string
$identifier
$module
public
string
$module
= ''
Methods
__construct()
public
__construct(string $identifier, string $html[, string $module = '' ]) : mixed
Parameters
- $identifier : string
- $html : string
- $module : string = ''
jsonSerialize()
public
jsonSerialize() : array