| 1 | <?php |
||
| 12 | final class Assert |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Throws an \InvalidArgumentException if given value is not iterable. |
||
| 16 | * |
||
| 17 | * @param mixed $value |
||
| 18 | * @param string $message |
||
| 19 | * |
||
| 20 | * @return bool |
||
| 21 | */ |
||
| 22 | public static function isIterable($value, $message) |
||
| 28 | |||
| 29 | private function __construct() {} |
||
| 30 | } |
||
| 31 |