| Total Complexity | 1 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | final class MissingTheKey extends InvalidArgumentException implements MappingFailure |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Notifies the client code about a missing input key. |
||
| 22 | * |
||
| 23 | * @param array $data The data that was provided. |
||
| 24 | * @param Mapping $mapping The mapping that was expecting a key. |
||
| 25 | * @param string $key The key that was expected. |
||
| 26 | * @return MappingFailure The exception to throw. |
||
| 27 | */ |
||
| 28 | public static function inTheInput( |
||
| 43 |