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

# Class Event

Default event for Guzzle notifications

  Symfony\Component\EventDispatcher\Event
  Guzzle\Common\Event implements Guzzle\Common\ToArrayInterface, ArrayAccess, IteratorAggregate

### Direct known subclasses

`Guzzle\Service\Command\CreateResponseClassEvent`

Namespace: Guzzle\Common
Located at Guzzle/Common/Event.php

## Methods summary

- `public` `__construct ( array $context = array() )`
- `public` `getIterator ( )`
- `public` `offsetGet ( mixed $offset )`
- `public` `offsetSet ( mixed $offset, mixed $value )`
- `public` `offsetExists ( mixed $offset )`
- `public` `offsetUnset ( mixed $offset )`
- `public` `toArray ( )`

  Get the array representation of an object

## Methods detail

# `public`
`__construct( array $context = array() )`

#### Parameters

$context
  `array`
  $context Contextual information

# `public`
`getIterator( )`

#### Implementation of

`IteratorAggregate::getIterator()`
# `public`
`offsetGet( mixed $offset )`

#### Implementation of

`ArrayAccess::offsetGet()`
# `public`
`offsetSet( mixed $offset, mixed $value )`

#### Implementation of

`ArrayAccess::offsetSet()`
# `public`
`offsetExists( mixed $offset )`

#### Implementation of

`ArrayAccess::offsetExists()`
# `public`
`offsetUnset( mixed $offset )`

#### Implementation of

`ArrayAccess::offsetUnset()`
# `public array`
`toArray( )`

Get the array representation of an object

#### Returns

`array`

#### Implementation of

`Guzzle\Common\ToArrayInterface::toArray()`

### Magic methods summary