implements |
CastsAttributes<ArtifactTypeInterface, ArtifactTypeInterface|int> |
|---|
sdk_artifacts.type ↔ the case of whichever layer declares it.
The stored value is the enum's ->value; reading resolves it through Core's
{@see ArtifactTypeRegistry}, which knows the types of every installed layer. A value no installed
layer declares is a wiring fault and fails loudly.
| Methods | ||
|---|---|---|
public
|
get(Model $model, string $key, mixed $value, array $attributes): ?ArtifactTypeInterface
|
# |
public
|
set(Model $model, string $key, mixed $value, array $attributes): ?int
|
# |