MediaWiki  1.29.2
MediaWiki\Services\ServiceAlreadyDefinedException Class Reference

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

Inheritance diagram for MediaWiki\Services\ServiceAlreadyDefinedException:
Collaboration diagram for MediaWiki\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()

MediaWiki\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: