Class Yiisoft\Yii\Debug\Api\Inspector\CommandResponse
| Inheritance | Yiisoft\ |
|---|
Public Methods
Constants
| Constant | Value | Description | Defined By |
|---|---|---|---|
| STATUS_ERROR | 'error' | Yiisoft\ |
|
| STATUS_FAIL | 'fail' | Yiisoft\ |
|
| STATUS_OK | 'ok' | Yiisoft\ |
Method Details
| public mixed __construct ( string $status, mixed $result, array $errors = [] ) | ||
| $status | string | |
| $result | mixed | |
| $errors | array | |
public function __construct(
private string $status,
private mixed $result,
private array $errors = [],
) {}
User Contributed Notes
Leave a comment
Join the conversation to share a note.