__construct() __construct(\Iterator $iterator, string $filter = null) : mixed Parameters \Iterator $iterator Array of data to iterate over string $filter Optional prefix to only allow values of Returns mixed —