Services
Generic service to manage named services using lazy instantiation based on instantiator callback functions
Loading...
Searching...
No Matches
Wikimedia\Services\CannotReplaceActiveServiceException Class Reference

Exception thrown when trying to replace an already active service. More...

+ Inheritance diagram for Wikimedia\Services\CannotReplaceActiveServiceException:

Public Member Functions

 __construct (string $serviceName, Exception $previous=null)
 

Detailed Description

Exception thrown when trying to replace an already active service.

Constructor & Destructor Documentation

◆ __construct()

Wikimedia\Services\CannotReplaceActiveServiceException::__construct ( string $serviceName,
Exception $previous = null )
Parameters
string$serviceName
Exception | null$previous

The documentation for this class was generated from the following file: