NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Class GlacierUploadListener

Adds the content sha256 and tree hash to Glacier upload requests if not set

  Aws\Glacier\GlacierUploadListener implements Symfony\Component\EventDispatcher\EventSubscriberInterface

Namespace: Aws\Glacier
Located at Aws/Glacier/GlacierUploadListener.php

## Methods summary

- `public static` `getSubscribedEvents ( )`
- `public` `onCommandBeforeSend ( Guzzle\Common\Event $event )`

  Retrieve bodies passed in as UploadPartContext objects and set the real hash, length, etc. values on the command

## Methods detail

# `public static`
`getSubscribedEvents( )`
# `public`
`onCommandBeforeSend( `Guzzle\Common\Event` $event )`

Retrieve bodies passed in as UploadPartContext objects and set the real hash, length, etc. values on the command

#### Parameters

$event
  ``Guzzle\Common\Event``
  $event Event emitted

### Magic methods summary