MediaWiki  1.34.4
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:
Collaboration diagram for Wikimedia\Services\ServiceAlreadyDefinedException:

Public Member Functions

 __construct ( $serviceName, Exception $previous=null)
 

Detailed Description

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

Definition at line 37 of file ServiceAlreadyDefinedException.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 44 of file ServiceAlreadyDefinedException.php.


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