Skip to content
This repository was archived by the owner on Feb 6, 2020. It is now read-only.

Commit 2eff858

Browse files
committed
ServiceNotFoundException implements PSR-11 NotFoundExceptionInterface
1 parent f4942fd commit 2eff858

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Exception/ServiceNotFoundException.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@
88
namespace Zend\ServiceManager\Exception;
99

1010
use InvalidArgumentException as SplInvalidArgumentException;
11+
use Psr\Container\NotFoundExceptionInterface;
1112

1213
/**
1314
* This exception is thrown when the service locator do not manage to find a
1415
* valid factory to create a service
1516
*/
16-
class ServiceNotFoundException extends SplInvalidArgumentException implements ExceptionInterface
17+
class ServiceNotFoundException extends SplInvalidArgumentException implements
18+
ExceptionInterface,
19+
NotFoundExceptionInterface
1720
{
1821
}

0 commit comments

Comments
 (0)