AuditProcessResult
API reference › Foxy › Audit › AuditProcessResult
Contains the raw result of a package manager audit process.
Properties
Section titled “Properties”| Property | Type | Description | Defined by |
|---|---|---|---|
$errorOutput readonly constructor | string | Standard error captured from the process. | AuditProcessResult |
$exitCode readonly constructor | int | Process exit status. | AuditProcessResult |
$output readonly constructor | string | Standard output captured from the process. | AuditProcessResult |
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
__construct() | Creates an immutable process result. | AuditProcessResult |
Method details
Section titled “Method details”__construct()
Section titled “__construct() ”public function __construct(int $exitCode, string $output, string $errorOutput)Creates an immutable process result.
Parameters
| Parameter | Type | Description |
|---|---|---|
$exitCode | int | Process exit status. |
$output | string | Standard output captured from the process. |
$errorOutput | string | Standard error captured from the process. |