public function size($path) { $object = $this->client->headObject(array('Bucket' => $this->bucket, 'Key' => $this->computePath($path))); return $object['ContentLength']; }