Service Namespaces Attribute Test Interfaces, Classes and Traits ResetInterface Provides a way to reset an object to its initial state. ServiceProviderInterface A ServiceProviderInterface exposes the identifiers and the types of services provided by a container. ServiceSubscriberInterface A ServiceSubscriber exposes its dependencies via the static {@link getSubscribedServices} method. ServiceLocatorTrait A trait to help implement ServiceProviderInterface. ServiceSubscriberTrait Implementation of ServiceSubscriberInterface that determines subscribed services from private method return types. Service ids are available as "ClassName::methodName".