Skip to content
PHP Ecosystem
Explore

HistoryPanelStates

API reference › Yii3 Debug › Comparison › HistoryPanelStates

final readonly classYii3\Debug\Comparison\HistoryPanelStates
Sourcesrc/Comparison/HistoryPanelStates.php

Immutable baseline and target capture states for one panel.

PropertyTypeDescriptionDefined by
$baseline readonly constructorstringState of the panel in the baseline capture.HistoryPanelStates
$target readonly constructorstringState of the panel in the target capture.HistoryPanelStates
MethodDescriptionDefined by
__construct()Creates the baseline and target states for one panel.HistoryPanelStates
public function __construct(string $baseline, string $target)

Creates the baseline and target states for one panel.

Parameters

ParameterTypeDescription
$baselinestringState of the panel in the baseline capture.
$targetstringState of the panel in the target capture.