final | |
|---|---|
readonly | |
implements |
CacheSerializable |
Runtime view of a registered Concept's identity.
Derives the table / instance key / foreign key from the model lazily — at request time when an entry is rendered, never at registry-build time. The harvest stores only the raw attribute data (name, model, optional key override); see {@see SdkRegistry::registerConcept}.
Implements {@see CacheSerializable} so it round-trips the registry cache structurally.
| Methods | ||
|---|---|---|
public
|
__construct(string $name, class-string<Model> $model, string $label, ?string $keyOverride = null)
|
# |
public
|
instanceKey(): string
|
# |
public
|
foreignKey(): string
|
# |
public
|
table(): string
|
# |
public
|
toCache(): array
|
# |
public
static
|
fromCache(array $data): static
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$name
|
# |
public
|
class-string<Model>
|
$model
|
# |
public
|
string
|
$label
|
# |