Neos.Fusion/Classes/FusionObjects/Helpers/FusionPathProxy.php
public function getIterator()
    {
        $evaluatedArray = [];
        foreach ($this->partialFusionTree as $key => $value) {
            if (!is_array($value)) {
                $evaluatedArray[$key] = $value;
            } elseif (isset($value['__objectType'])) {
                $evaluatedArray[$key] = $this->fusionRuntime->evaluate($this->path . '/' . $key);
            } elseif (isset($value['__eelExpression'])) {
                $evaluatedArray[$key] = $this->fusionRuntime->evaluate($this->path . '/' . $key, $this->templateImplementation);
            } else {
                $evaluatedArray[$key] = new FusionPathProxy($this->templateImplementation, $this->path . '/' . $key, $this->partialFusionTree[$key]);
            }
        }
        return new \ArrayIterator($evaluatedArray);
    }
public function getIterator()
    {
        $evaluatedArray = [];
        foreach ($this->partialFusionTree as $key => $value) {
            if (!is_array($value)) {
                $evaluatedArray[$key] = $value;
            } elseif (isset($value['__objectType'])) {
                $evaluatedArray[$key] = $this->fusionRuntime->evaluate($this->path . '/' . $key);
            } elseif (isset($value['__eelExpression'])) {
                $evaluatedArray[$key] = $this->fusionRuntime->evaluate($this->path . '/' . $key, $this->templateImplementation);
            } else {
                $evaluatedArray[$key] = new FusionPathProxy($this->templateImplementation, $this->path . '/' . $key, $this->partialFusionTree[$key]);
            }
        }
        return new \ArrayIterator($evaluatedArray);
    }
public function getIterator ( ) { $ evaluatedArray = [ ] ; foreach ( $ this -> partialFusionTree as $ key => $ value ) { if ( ! is_array ( $ value ) ) { $ evaluatedArray [ $ key ] = $ value ; } elseif ( isset ( $ value [ '__objectType' ] ) ) { $ evaluatedArray [ $ key ] = $ this -> fusionRuntime -> evaluate ( $ this -> path . '/' . $ key ) ; } elseif ( isset ( $ value [ '__eelExpression' ] ) ) { $ evaluatedArray [ $ key ] = $ this -> fusionRuntime -> evaluate ( $ this -> path . '/' . $ key , $ this -> templateImplementation ) ; } else { $ evaluatedArray [ $ key ] = new FusionPathProxy ( $ this -> templateImplementation , $ this -> path . '/' . $ key , $ this -> partialFusionTree [ $ key ] ) ; } } return new \ ArrayIterator ( $ evaluatedArray ) ; }
Iterates through all subelements.

@return \ArrayIterator
Iterates through all subelements .