ServiceSubscriberTrait.php Interfaces, Classes and Traits ServiceSubscriberTrait Implementation of ServiceSubscriberInterface that determines subscribed services from method return types. Service ids are available as "ClassName::methodName".