public function getIterator()
    {
        $resourcesGetMethod = $this->pageStreamingDescriptor->getResourcesGetMethod();
        foreach ($this->getResponseObject()->$resourcesGetMethod() as $element) {
            yield $element;
        }
    }
public function getIterator()
    {
        $resourcesGetMethod = $this->pageStreamingDescriptor->getResourcesGetMethod();
        foreach ($this->getResponseObject()->$resourcesGetMethod() as $element) {
            yield $element;
        }
    }
public function getIterator ( ) { $ resourcesGetMethod = $ this -> pageStreamingDescriptor -> getResourcesGetMethod ( ) ; foreach ( $ this -> getResponseObject ( ) -> $ resourcesGetMethod ( ) as $ element ) { yield $ element ; } }
Return an iterator over the elements in the response.

@return Generator
Return an iterator over the elements in the response .