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

Exception thrown when a service was already defined, but the caller expected it to not exist. More...

+ Inheritance diagram for Wikimedia\Services\ServiceAlreadyDefinedException:

Public Member Functions

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

Detailed Description

Exception thrown when a service was already defined, but the caller expected it to not exist.

Constructor & Destructor Documentation

◆ __construct()

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

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