Documentation

Enumerator
in package

Traverses array structures and object graphs to enumerate all referenced objects.

Table of Contents

Methods

enumerate()  : array<string|int, object>
Returns an array of all objects referenced either directly or indirectly by a variable.

Methods

enumerate()

Returns an array of all objects referenced either directly or indirectly by a variable.

public enumerate(array<string|int, mixed>|object $variable) : array<string|int, object>
Parameters
$variable : array<string|int, mixed>|object
Return values
array<string|int, object>

        
On this page

Search results