Iterator for arrays requiring filtered values

package Requests
subpackage Utilities

 Methods

Create a new iterator

__construct(array $data, callable $callback) 

Parameters

$data

array

$callback

callable

Callback to be called on each value

Get the current item's value after filtering

current() : string

Returns

string

 Properties