Finds the declaration of a released service by its interface — one to one — and hands the service out, guarded. Both SDK registries implement it.
| Methods | ||
|---|---|---|
public
|
service(class-string $interface): AbstractServiceDeclaration|null
|
# |
public
|
getService<T is object>(class-string<T> $interface): T
|
# |
public
|
serviceInterfaces(): list<class-string>
|
# |
public
|
uses(string $moduleNamespace): list<class-string>
|
# |