Each¶
If your data is iterable trough foreach you can test all the entry via a callable:
(new Tester(['value1', 'value2']))
->each(
function (Tester $tester) {
$tester->assertInternalType('string');
}
);
If your data is iterable trough foreach you can test all the entry via a callable:
(new Tester(['value1', 'value2']))
->each(
function (Tester $tester) {
$tester->assertInternalType('string');
}
);