MediaWiki
REL1_34
ContainerDisabledException.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Wikimedia\Services
;
4
5
use Exception;
6
use Psr\Container\ContainerExceptionInterface;
7
use RuntimeException;
8
35
class
ContainerDisabledException
extends
RuntimeException
36
implements ContainerExceptionInterface {
37
41
public
function
__construct
( Exception $previous =
null
) {
42
parent::__construct(
'Container disabled!'
, 0, $previous );
43
}
44
45
}
46
51
class_alias( ContainerDisabledException::class,
'MediaWiki\Services\ContainerDisabledException'
);
Wikimedia\Services\ContainerDisabledException
Exception thrown when trying to access a service on a disabled container or factory.
Definition
ContainerDisabledException.php:36
Wikimedia\Services\ContainerDisabledException\__construct
__construct(Exception $previous=null)
Definition
ContainerDisabledException.php:41
Wikimedia\Services
Definition
CannotReplaceActiveServiceException.php:3
includes
libs
services
ContainerDisabledException.php
Generated on Fri Apr 5 2024 23:10:12 for MediaWiki by
1.9.8