| Methods |
public
|
__construct()
|
#
|
public
|
add(string $modelClass): void
|
#
|
public
|
addVirtualExpand(string $typeName, string $navName, EntityTypeInterface $targetType, string $targetSetName): void
Register a virtual navigation property to be added to a discovered entity type.
Register a virtual navigation property to be added to a discovered entity type.
Called before apply() so that Pass 2 can include the virtual nav prop
alongside discovered Eloquent relations.
|
#
|
public
|
apply(EdmBuilderInterface $builder, string $namespace): void
Two-pass discovery: build types, then wire navigation properties.
Two-pass discovery: build types, then wire navigation properties.
|
#
|
public
|
getEntitySetMap(): array<string, class-string<Model>>
Returns
entitySetName => modelClass
|
#
|
public
|
getDiscoveredTypeNames(): list<string>
Returns
discovered entity type names
|
#
|
public
|
registerOnMap(ResolverMapBuilder $map): void
Register discovered models as EloquentBindings on a ResolverMapBuilder.
Register discovered models as EloquentBindings on a ResolverMapBuilder.
Called after apply() so that entitySetMap is populated.
|
#
|