1 | <?php |
||
22 | class KeyNotFoundException extends RuntimeException |
||
23 | { |
||
24 | /** |
||
25 | * Creates an exception for a key that was not found. |
||
26 | * |
||
27 | * @param string|int $key |
||
28 | * @param Exception|null $cause |
||
29 | * |
||
30 | * @return KeyNotFoundException |
||
31 | */ |
||
32 | public static function forKey($key, Exception $cause = null) |
||
39 | } |
||
40 |