Services
Generic service to manage named services using lazy instantiation based on instantiator callback functions
|
▼CWikimedia\Services\DestructibleService | DestructibleService defines a standard interface for shutting down a service instance |
CWikimedia\Services\ServiceContainer | ServiceContainer provides a generic service to manage named services using lazy instantiation based on instantiator callback functions |
CWikimedia\Services\SalvageableService | SalvageableService defines an interface for services that are able to salvage state from a previous instance of the same class |
▼CContainerExceptionInterface | |
CWikimedia\Services\CannotReplaceActiveServiceException | Exception thrown when trying to replace an already active service |
CWikimedia\Services\ContainerDisabledException | Exception thrown when trying to access a service on a disabled container or factory |
CWikimedia\Services\RecursiveServiceDependencyException | Exception thrown when trying to instantiate a currently instantiating service |
CWikimedia\Services\ServiceAlreadyDefinedException | Exception thrown when a service was already defined, but the caller expected it to not exist |
CWikimedia\Services\ServiceDisabledException | Exception thrown when trying to access a disabled service |
▼CContainerInterface | |
CWikimedia\Services\ServiceContainer | ServiceContainer provides a generic service to manage named services using lazy instantiation based on instantiator callback functions |
▼CNotFoundExceptionInterface | |
CWikimedia\Services\NoSuchServiceException | Exception thrown when the requested service is not known |
▼CRuntimeException | |
CWikimedia\Services\CannotReplaceActiveServiceException | Exception thrown when trying to replace an already active service |
CWikimedia\Services\ContainerDisabledException | Exception thrown when trying to access a service on a disabled container or factory |
CWikimedia\Services\NoSuchServiceException | Exception thrown when the requested service is not known |
CWikimedia\Services\RecursiveServiceDependencyException | Exception thrown when trying to instantiate a currently instantiating service |
CWikimedia\Services\ServiceAlreadyDefinedException | Exception thrown when a service was already defined, but the caller expected it to not exist |
CWikimedia\Services\ServiceDisabledException | Exception thrown when trying to access a disabled service |