protected function readObject($path)
    {
        $object = $this->applyPathPrefix($path);

        $result['Body'] = $this->client->getObject($this->bucket, $object);
        $result = array_merge($result, ['type' => 'file']);
        return $this->normalizeResponse($result, $path);
    }
protected function readObject($path)
    {
        $object = $this->applyPathPrefix($path);

        $result['Body'] = $this->client->getObject($this->bucket, $object);
        $result = array_merge($result, ['type' => 'file']);
        return $this->normalizeResponse($result, $path);
    }
protected function readObject ( $ path ) { $ object = $ this -> applyPathPrefix ( $ path ) ; $ result [ 'Body' ] = $ this -> client -> getObject ( $ this -> bucket , $ object ) ; $ result = array_merge ( $ result , [ 'type' => 'file' ] ) ; return $ this -> normalizeResponse ( $ result , $ path ) ; }
Read an object from the OssClient.

@param string $path

@return array
Read an object from the OssClient .