function getObject(OSSClient $client, $bucket, $key) { $object = $client->getObject(array('Bucket' => $bucket, 'Key' => $key)); echo "Object: " . $object->getKey() . "\n"; echo (string) $object; }
function getObject(OSSClient $client, $bucket, $key) { $object = $client->getObject(array('Bucket' => $bucket, 'Key' => $key)); echo "Object: " . $object->getKey() . "\n"; echo (string) $object; }