protected function thawArray(array &$array, array $frozenObject, array &$objects)
    {
        foreach ($array as &$value) {
            if (is_array($value)) {
                $this->thawArray($value, $frozenObject, $objects);
            } elseif (is_string($value) &&
                     strpos($value, '__php_object_freezer') === 0) {
                $aggregatedObjectId = str_replace(
                  '__php_object_freezer_', '', $value
                );

                if (isset($frozenObject['objects'][$aggregatedObjectId])) {
                    $value = $this->thaw(
                      $frozenObject, $aggregatedObjectId, $objects
                    );
                }
            }
        }
    }
protected function thawArray(array &$array, array $frozenObject, array &$objects)
    {
        foreach ($array as &$value) {
            if (is_array($value)) {
                $this->thawArray($value, $frozenObject, $objects);
            } elseif (is_string($value) &&
                     strpos($value, '__php_object_freezer') === 0) {
                $aggregatedObjectId = str_replace(
                  '__php_object_freezer_', '', $value
                );

                if (isset($frozenObject['objects'][$aggregatedObjectId])) {
                    $value = $this->thaw(
                      $frozenObject, $aggregatedObjectId, $objects
                    );
                }
            }
        }
    }
protected function thawArray ( array & $ array , array $ frozenObject , array & $ objects ) { foreach ( $ array as & $ value ) { if ( is_array ( $ value ) ) { $ this -> thawArray ( $ value , $ frozenObject , $ objects ) ; } elseif ( is_string ( $ value ) && strpos ( $ value , '__php_object_freezer' ) === 0 ) { $ aggregatedObjectId = str_replace ( '__php_object_freezer_' , '' , $ value ) ; if ( isset ( $ frozenObject [ 'objects' ] [ $ aggregatedObjectId ] ) ) { $ value = $ this -> thaw ( $ frozenObject , $ aggregatedObjectId , $ objects ) ; } } } }
Thaws an array.

@param array $array        The array that is to be thawed.
@param array $frozenObject The frozen object structure from which to
thaw.
@param array $objects      Only used internally.
Thaws an array .