File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 8
8
/**
9
9
* Base interface representing a generic exception in a container.
10
10
*/
11
- interface ContainerException
11
+ interface ContainerExceptionInterface
12
12
{
13
13
}
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ interface ContainerInterface
15
15
*
16
16
* @param string $id Identifier of the entry to look for.
17
17
*
18
- * @throws NotFoundException No entry was found for this identifier.
19
- * @throws ContainerException Error while retrieving the entry.
18
+ * @throws NotFoundExceptionInterface No entry was found for this identifier.
19
+ * @throws ContainerExceptionInterface Error while retrieving the entry.
20
20
*
21
21
* @return mixed Entry.
22
22
*/
@@ -25,9 +25,9 @@ public function get($id);
25
25
/**
26
26
* Returns true if the container can return an entry for the given identifier.
27
27
* Returns false otherwise.
28
- *
28
+ *
29
29
* `has($id)` returning true does not mean that `get($id)` will not throw an exception.
30
- * It does however mean that `get($id)` will not throw a `NotFoundException `.
30
+ * It does however mean that `get($id)` will not throw a `NotFoundExceptionInterface `.
31
31
*
32
32
* @param string $id Identifier of the entry to look for.
33
33
*
Original file line number Diff line number Diff line change 8
8
/**
9
9
* No entry was found in the container.
10
10
*/
11
- interface NotFoundException extends ContainerException
11
+ interface NotFoundExceptionInterface extends ContainerExceptionInterface
12
12
{
13
13
}
You can’t perform that action at this time.
0 commit comments