WordPress at a glance
function is not described

Requests_Utility_FilteredIterator::__construct() public WP 1.0

Create a new iterator

{} It's a method of the class: Requests_Utility_FilteredIterator{}

No Hooks.

Return

Null. Nothing.

Usage

$Requests_Utility_FilteredIterator = new Requests_Utility_FilteredIterator();
$Requests_Utility_FilteredIterator->__construct( $data, $callback );
$data(array) (required)
$callback(callable) (required)
Callback to be called on each value

Code of Requests_Utility_FilteredIterator::__construct() WP 5.6

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

	$this->callback = $callback;
}