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

Commit

Permalink
Use container-interop exception interfaces
Browse files Browse the repository at this point in the history
Fix #45
  • Loading branch information
zerocrates committed Nov 4, 2015
1 parent 6bf0ced commit 975be46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

namespace Zend\ServiceManager\Exception;

interface ExceptionInterface
use Interop\Container\Exception\ContainerException;

interface ExceptionInterface extends ContainerException
{
}
5 changes: 4 additions & 1 deletion src/Exception/ServiceNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

namespace Zend\ServiceManager\Exception;

class ServiceNotFoundException extends InvalidArgumentException
use Interop\Container\Exception\NotFoundException;

class ServiceNotFoundException extends InvalidArgumentException implements
NotFoundException
{
}

0 comments on commit 975be46

Please sign in to comment.