public function store($user, $imageIdentifier, $imageData)
{
try {
$this->getClient()->putObject(['Bucket' => $this->params['bucket'], 'Key' => $this->getImagePath($user, $imageIdentifier), 'Body' => $imageData]);
} catch (S3Exception $e) {
throw new StorageException('Could not store image', 500);
}
return true;
}