Service
Table of Contents
Interfaces
- AutoServiceInterface
- The CiviCRM container will automatically load classes that implement
AutoServiceInterface.
Classes
- AutoDefinition
- AutoService
- AutoService is a base-class for defining a service (in Civi's service-container).
- AutoSubscriber
- AutoSubscriber allows child classes to listen to events.
- AutoDefinitionTest
- The 'AutoDefinition' uses Civi-style annotations to construct the `Definition` of
a Symfony service. To test this, we need many different class/annotation combinations.
Traits
- AutoServiceTrait
- By combining AutoServiceInterface and AutoServiceTrait, you can make any class
behave like an AutoService (auto-registered in the CiviCRM container).
- IsActiveTrait