For classes that need to know when they are used to resolve a service from a container
Methods | ||
---|---|---|
public
|
setService(class-string $service): void
|
# |
public
|
getService(): class-string
|
# |