MediaWiki  1.33.0
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 35 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 41 of file ServiceAlreadyDefinedException.php.


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