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 88/**
99 * Base interface representing a generic exception in a container.
1010 */
11- interface ContainerException
11+ interface ContainerExceptionInterface
1212{
1313}
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ interface ContainerInterface
1515 *
1616 * @param string $id Identifier of the entry to look for.
1717 *
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.
2020 *
2121 * @return mixed Entry.
2222 */
@@ -25,9 +25,9 @@ public function get($id);
2525 /**
2626 * Returns true if the container can return an entry for the given identifier.
2727 * Returns false otherwise.
28- *
28+ *
2929 * `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 `.
3131 *
3232 * @param string $id Identifier of the entry to look for.
3333 *
Original file line number Diff line number Diff line change 88/**
99 * No entry was found in the container.
1010 */
11- interface NotFoundException extends ContainerException
11+ interface NotFoundExceptionInterface extends ContainerExceptionInterface
1212{
1313}
You can’t perform that action at this time.
0 commit comments