final | |
|---|---|
implements |
RuntimeSchemaBuilderInterface |
Mutable accumulator that binds resolvers to a frozen EdmxInterface (Stage 2).
Retrieve canonical EntitySetInterface and FunctionImportInterface instances via getEdmx() before binding — object identity (spl_object_id) is the map key.
Example: $c = $builder->getEdmx()->getEntityContainer(); $builder->bindEntitySet($c->getEntitySet('Partners'), new EloquentEntitySetResolver(Partner::class));
| Methods | ||
|---|---|---|
public
|
__construct(EdmxInterface $edmx)
|
# |
public
|
getEdmx(): EdmxInterface
|
# |
public
|
bindEntitySet(EntitySetInterface $set, EntitySetResolverInterface $resolver): static
|
# |
public
|
bindFunctionImport(FunctionImportInterface $import, FunctionResolverInterface $resolver): static
|
# |
public
|
bindSingleton(SingletonInterface $singleton, SingletonResolverInterface $resolver): static
|
# |
public
|
build(): RuntimeSchemaInterface
|
# |