RequestView
API reference › Debug Core › Panel › Request › RequestView
Top-level typed view-model for the Request panel detail view.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$hero readonly constructor | RequestHero | Hero header view-model. | RequestView |
$tabs readonly constructor | list<RequestTab> | Tab view-models in display order; the first tab is rendered active by the section renderer. | RequestView |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates the composed Request panel view. | RequestView |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(PHPForge\Debug\Panel\Request\RequestHero $hero, array $tabs)Creates the composed Request panel view.
Parameters
| Parameter | Type | Description |
|---|---|---|
$hero | RequestHero | |
$tabs | array |