MediaWiki
REL1_32
CannotReplaceActiveServiceException.php
Go to the documentation of this file.
1
<?php
2
namespace
MediaWiki\Services
;
3
4
use Exception;
5
use RuntimeException;
6
33
class
CannotReplaceActiveServiceException
extends
RuntimeException {
34
39
public
function
__construct
( $serviceName, Exception $previous =
null
) {
40
parent::__construct(
"Cannot replace an active service: $serviceName"
, 0, $previous );
41
}
42
43
}
MediaWiki\Services\CannotReplaceActiveServiceException
Exception thrown when trying to replace an already active service.
Definition
CannotReplaceActiveServiceException.php:33
MediaWiki\Services\CannotReplaceActiveServiceException\__construct
__construct( $serviceName, Exception $previous=null)
Definition
CannotReplaceActiveServiceException.php:39
MediaWiki\Services
Definition
CannotReplaceActiveServiceException.php:2
includes
services
CannotReplaceActiveServiceException.php
Generated on Mon Nov 25 2024 15:57:36 for MediaWiki by
1.10.0