MediaWiki  1.29.2
MediaWiki\Services Namespace Reference

Classes

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