final | |
|---|---|
readonly | |
implements |
Arrayable<array{uri: non-empty-string, digest: non-empty-string, size: int<0, max>}> |
One file of a skill's manifest.
| Methods | ||
|---|---|---|
public
|
__construct(non-empty-string $uri, non-empty-string $digest, int<0, max> $size)
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): array
|
# |
| Constants | |||
|---|---|---|---|
public
|
string |
DIGEST_PREFIX = 'sha256:'
|
# |
public
|
string |
DIGEST_PATTERN = '/\Asha256:[0-9a-f]{64}\z/'
|
# |
| Properties | |||
|---|---|---|---|
public
|
non-empty-string
|
$uri
|
# |
public
|
non-empty-string
|
$digest
|
# |
public
|
int<0, max>
|
$size
|
# |