Less than 1 minute
recursive_iterator_to_array
Recrusively convert a traversable object into a normal array.
public recursive_iterator_to_array({Array})
This is the same as the built-in PHP iterator_to_array() function except it will recurse into any \Traversable objects it contains.
Parameters
Parameter | Type | Description |
---|---|---|
$it | Traversable | the object to convert to an array |
Generated by Hazaar API Doc Generator