Class LaravelUi5\Sdk\Security\Casts\ArtifactTypeCast

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