Requests_Utility_FilteredIterator::__construct( array $data, callable $callback )
Create a new iterator
Description Description
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; }
Expand full source code Collapse full source code View on Trac