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

# Class BucketStyleListener

Listener used to change the way in which buckets are referenced (path/virtual style) based on context

  Aws\S3\BucketStyleListener implements Symfony\Component\EventDispatcher\EventSubscriberInterface

Namespace: Aws\S3
Located at Aws/S3/BucketStyleListener.php

## Methods summary

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

  Changes how buckets are referenced in the HTTP request

## Methods detail

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

Changes how buckets are referenced in the HTTP request

#### Parameters

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

### Magic methods summary