Class LaravelUi5\OData\Service\Resolver\CustomBinding

final
readonly
implements ResolverBindingInterface

Serializable binding for a custom EntitySetResolverInterface implementation.

Stores the resolver class-string and resolves it from the Laravel container at runtime, so dependencies (auth, config, services, etc.) are injected.

Use this for entity sets that don't map to a single Eloquent model or SQL table — e.g., aggregated search results, cross-model projections, or external API-backed data.

Register via ResolverMapBuilder::custom():

$map->custom($container->getEntitySet('SearchItems'), SearchItemsResolver::class);

Methods
Properties