HistoryPanelStates
API reference › Yii3 Debug › Comparison › HistoryPanelStates
Immutable baseline and target capture states for one panel.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$baseline readonly constructor | string | State of the panel in the baseline capture. | HistoryPanelStates |
$target readonly constructor | string | State of the panel in the target capture. | HistoryPanelStates |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates the baseline and target states for one panel. | HistoryPanelStates |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(string $baseline, string $target)Creates the baseline and target states for one panel.
Parameters
| Parameter | Type | Description |
|---|---|---|
$baseline | string | State of the panel in the baseline capture. |
$target | string | State of the panel in the target capture. |