readonly | |
|---|---|
implements |
EntitySetResolverInterface, EntityResolverInterface |
Resolves entity-set and single-entity plans against a SQL data source.
The data source is provided via {@see EntitySetSourceInterface}, which supplies a fresh Query Builder on each call. This keeps the resolver decoupled from how the query is constructed (table, view, subquery, tenant-scoped, etc.).
| Methods | ||
|---|---|---|
public
|
__construct(EntitySetSourceInterface $source)
|
# |
public
|
resolve(QueryPlanInterface $plan): Generator<array<string, mixed>>
|
# |
public
|
resolveOne(QueryPlanInterface $plan): array<string, mixed>|null
|
# |
public
|
count(QueryPlanInterface $plan): int
|
# |