ArtifactDriftResult
The result of comparing a freshly emitted artifact against whatever is (or isn’t) already on disk at its target path, without writing anything.
Synopsis
Section titled “Synopsis”final class ArtifactDriftResult
| Since | 1.0.0 |
| Source | Support/Compiler/ArtifactDriftResult.php |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
$existingChecksum | ?``string | readonly. |
$expectedChecksum | string | readonly. |
$matches | bool | readonly. |
$target | string | readonly. |
Constructor
Section titled “Constructor”__construct()
Section titled “__construct()”public function __construct(bool $matches, ?string $existingChecksum, string $expectedChecksum, string $target): mixed
| Parameter | Type | Description |
|---|---|---|
$matches | bool | |
$existingChecksum | ?``string | |
$expectedChecksum | string | |
$target | string |
Returns mixed