Iterate over all the items in $a and pass each to $callback. If the
callback returns true for all, it passes -- otherwise it fails
public static assert_all_ok ( array | Traversable $a, callable $callback, string $msg = null ) | ||
$a | array | Traversable | an array or Traversable (iterable) object |
$callback | callable | [description] |
$msg | string | optional description of assertion |