response->withBody(new Stream($result)); } }