Requests_Utility_FilteredIterator::__construct

Advertisement

Summery Summery

Create a new iterator

Syntax Syntax

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

Parameters Parameters

$data

(array) (Required)

$callback

(callable) (Required) Callback to be called on each value

Source Source

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

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

		$this->callback = $callback;
	}

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.