/** * {@inheritdoc} */ public function readStream($path) { $response = $this->client->downloadStream($path); $result = new FlysystemMetadata(FlysystemMetadata::TYPE_FILE, $path); $result->stream = $response; return $result->toArray(); }