Open
Description
Hi,
I use Gaufrette with GoogleCloudStorage adapter in production and local filesystem in development and I observe differences on the returned type of getContent() method of File object.
getContent calls Filesystem->read() which calls adaptater read() method.
Returned type of File->getContent() should be a string.
But, with GoogleCloudStorage adapter, the read() method return a StreamInterface ($response->getBody()) when Google_Http_Request does not exist (view here).
I suppose this line should be fixed with $response->getBody()->getContents()
Thx in advance.
Metadata
Metadata
Assignees
Labels
No labels