public function getFileContent($filePath)
	{
		$result = $this->s3Client->getObject(array(
			'Bucket' => $this->getBucket(),
			'Key'    => $filePath,
		));

		return (string) $result['Body'];
	}
public function getFileContent($filePath)
	{
		$result = $this->s3Client->getObject(array(
			'Bucket' => $this->getBucket(),
			'Key'    => $filePath,
		));

		return (string) $result['Body'];
	}
public function getFileContent ( $ filePath ) { $ result = $ this -> s3Client -> getObject ( array ( 'Bucket' => $ this -> getBucket ( ) , 'Key' => $ filePath , ) ) ; return ( string ) $ result [ 'Body' ] ; }
Returns string content of file saved in S3

@param $filePath
@return string
@throws \Exception
Returns string content of file saved in S3