public
setService(class-string $service): void
Set the service resolved to the instance by the container
Called every time the instance is used to resolve a service from the container.
{@see ContainerAwareInterface::setContainer()} is called first when the container creates the instance.
getService(): class-string
Get the service resolved to the instance by the container