src/Webservice/EventsWebservice.php
protected function _transformStreamResponses(Endpoint $endpoint, \Iterator $resources)
    {
        foreach ($resources as $resource) {
            yield $this->_transformResource($endpoint, $resource);
        }
    }
protected function _transformStreamResponses(Endpoint $endpoint, \Iterator $resources)
    {
        foreach ($resources as $resource) {
            yield $this->_transformResource($endpoint, $resource);
        }
    }
protected function _transformStreamResponses ( Endpoint $ endpoint , \ Iterator $ resources ) { foreach ( $ resources as $ resource ) { yield $ this -> _transformResource ( $ endpoint , $ resource ) ; } }
Transforms streamed responses into resources

@param \Muffin\Webservice\Model\Endpoint $endpoint Endpoint to use for resource class
@param \Iterator $resources Iterator to get responses from
@yield \Muffin\Webservice\Model\Resource Webservice resource
@return \Generator Resource generator
@throws \Exception HTTP exception
Transforms streamed responses into resources