We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff97e87 commit 8a95cadCopy full SHA for 8a95cad
src/Interop/Container/ContainerInterface.php
@@ -28,6 +28,9 @@ public function get($id);
28
/**
29
* Returns true if the container can return an entry for the given identifier.
30
* Returns false otherwise.
31
+ *
32
+ * `has($id)` returning true does not mean that `get($id)` will not throw an exception.
33
+ * It does however mean that `get($id)` will not throw a `NotFoundException`.
34
*
35
* @param string $id Identifier of the entry to look for.
36
0 commit comments