1 | <?php |
||
10 | class InvalidArgumentException extends \InvalidArgumentException implements JsonException |
||
11 | { |
||
12 | const TYPE_INTEGER = 'integer'; |
||
13 | const TYPE_STRING = 'string'; |
||
14 | const TYPE_BOOLEAN = 'boolean'; |
||
15 | |||
16 | /** @noinspection MoreThanThreeArgumentsInspection */ |
||
17 | /** |
||
18 | * @param $expectedType |
||
19 | * @param $argumentName |
||
20 | * @param $currentValue |
||
21 | * @param $code |
||
22 | * |
||
23 | * @return bool |
||
24 | * @throws \Crossjoin\Json\Exception\InvalidArgumentException |
||
25 | */ |
||
26 | public static function validateArgument($expectedType, $argumentName, $currentValue, $code) |
||
42 | } |
||
43 |