WPDev.one
Core Class

FilteredIterator

class FilteredIterator // Constructor: function Object() { [native code] }

Iterator for arrays requiring filtered values

Methods 5 methods

Method / Return Description
__construct()
void

Create a new iterator

Parameters: $data: mixed, $callback: mixed
__unserialize()
void

Prevent unserialization of the object for security reasons.

Parameters: $data: mixed
__wakeup()
void

Perform reinitialization tasks.

current()
string

Get the current item's value after filtering

unserialize()
void

Prevent creating a PHP value from a stored representation of the object for security reasons.

Parameters: $data: mixed

Properties

Property / Type Description
$callback
mixed
public
No description available.

Class Information

Source File
wp-includes/Requests/src/Utility/FilteredIterator.php
Advertisement