extends |
EntitySetResolverInterface |
|---|
Self-describing entity set resolver.
Implementations colocate the entity type definition with the query logic, keeping everything in one class. Use this for entity sets that don't map to a single Eloquent model or SQL table — e.g., aggregated views, cross-model projections, or external API-backed data.
Register via ODataService::discoverCustomEntitySet():
$this->discoverCustomEntitySet(BillableProjectsResolver::class);
This single call adds the entity type and set to the Edm, and registers the CustomBinding in the resolver map — no manual configure() or registerBindings() wiring needed.
| Methods | ||
|---|---|---|
public
|
entitySetName(): string
|
# |
public
|
entityType(string $namespace): EntityTypeInterface
|
# |
| Methods inherited from LaravelUi5\OData\Service\Contracts\EntitySetResolverInterface |
|---|
resolve(), count() |