dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Simplify some curl_setopt() calls in MultiHttpClient"
[lhc/web/wiklou.git]
/
includes
/
libs
/
services
/
NoSuchServiceException.php
diff --git
a/includes/libs/services/NoSuchServiceException.php
b/includes/libs/services/NoSuchServiceException.php
index
da51081
..
b6146ab
100644
(file)
--- a/
includes/libs/services/NoSuchServiceException.php
+++ b/
includes/libs/services/NoSuchServiceException.php
@@
-3,6
+3,7
@@
namespace Wikimedia\Services;
use Exception;
namespace Wikimedia\Services;
use Exception;
+use Psr\Container\NotFoundExceptionInterface;
use RuntimeException;
/**
use RuntimeException;
/**
@@
-31,7
+32,8
@@
use RuntimeException;
/**
* Exception thrown when the requested service is not known.
*/
/**
* Exception thrown when the requested service is not known.
*/
-class NoSuchServiceException extends RuntimeException {
+class NoSuchServiceException extends RuntimeException
+ implements NotFoundExceptionInterface {
/**
* @param string $serviceName
/**
* @param string $serviceName