Requests_Utility_FilteredIterator::__construct( array $data, callable $callback )

Create a new iterator


Parameters

$data

(Required)

$callback

(Required) Callback to be called on each value


Source

File: wp-includes/Requests/Utility/FilteredIterator.php

	public function __construct($data, $callback) {
		parent::__construct($data);

		$this->callback = $callback;
	}