ProducerIdentity
Identity of the producer that emitted the evidence for a gate (e.g.: a CI script, a static analysis tool, a human verifier).
ProducerIdentity::__construct()
public function __construct(string $kind, string $id, ?string $version):Parameters
| Name | Type | Description |
|---|---|---|
| $kind | string | Type of producer (e.g.: "ci-check", "phpstan", "human") |
| $id | string | Identifier of the producer (e.g.: "scripts/ci-check.php") |
| $version | ?string | Version of the producer, if applicable |
ProducerIdentity::toArray()
public function toArray(): arraySerializes the identity to an array for storage or transmission.