The swappable half of artifact scaffolding.
Core's generators create the POPO (the artifact class) directly — that is Core's to own, and no downstream package may replace it. But the accompanying behavior class — the Handler an Action dispatches to, the Provider a Card/Chart/Report/Resource/Tile reads from — is a moving contract. Core ships a plain marker; the SDK ships a typed, transaction-aware handler. Rather than fork the six generators, they all delegate the behavior write through this single seam.
The default binding ({@see DefaultArtifactBehaviorScaffolder}) reproduces Core's historical output byte-for-byte. A downstream package rebinds the interface in its service provider to emit a richer behavior class for the artifact types it enriches, delegating the rest back to the default.
| Methods | ||
|---|---|---|
public
|
scaffold(BehaviorSpec $spec): string[]
|
# |