Requests_Utility_FilteredIterator::__construct()
最后更新于:2021-11-26 04:10:03
Requests_Utility_FilteredIterator::__construct( array$data, callable$callback)Create a new iterator
参数
- $data
-
(array) (Required)
- $callback
-
(callable) (Required) Callback to be called on each value
源文件
文件: gc-includes/Requests/Utility/FilteredIterator.php
public function __construct($data, $callback) {
parent::__construct($data);
$this->callback = $callback;
}