/** * Read this content as a string * * @return string */ public function read() { try { $result = $this->s3Service->getObject(array('Bucket' => $this->bucket, 'Key' => $this->getId())); return $result['Body']; } catch (Exception $ex) { SS_Log::log($ex, SS_Log::WARN); return; } }
/** * Read this content as a string * * @return string */ public function read() { $result = $this->s3Service->getObject(array('Bucket' => $this->bucket, 'Key' => $this->getId())); return $result['Body']; }