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

# Class SplObjectStorage

  SplObjectStorage implements Countable, Iterator, Traversable, Serializable, ArrayAccess

PHP Extension: SPL
Documented at php.net

## Methods summary

- `public` `attach ( mixed $object, mixed $inf )`
- `public` `detach ( mixed $object )`
- `public` `contains ( mixed $object )`
- `public` `addAll ( mixed $object )`
- `public` `removeAll ( mixed $object )`
- `public` `removeAllExcept ( mixed $object )`
- `public` `getInfo ( )`
- `public` `setInfo ( mixed $info )`
- `public` `getHash ( mixed $object )`
- `public` `count ( )`
- `public` `rewind ( )`
- `public` `valid ( )`
- `public` `key ( )`
- `public` `current ( )`
- `public` `next ( )`
- `public` `unserialize ( mixed $serialized )`
- `public` `serialize ( )`
- `public` `offsetExists ( mixed $object )`
- `public` `offsetSet ( mixed $object, mixed $inf )`
- `public` `offsetUnset ( mixed $object )`
- `public` `offsetGet ( mixed $object )`

## Methods detail

# `public`
`attach( mixed $object, mixed $inf )`
# `public`
`detach( mixed $object )`
# `public`
`contains( mixed $object )`
# `public`
`addAll( mixed $object )`
# `public`
`removeAll( mixed $object )`
# `public`
`removeAllExcept( mixed $object )`
# `public`
`getInfo( )`
# `public`
`setInfo( mixed $info )`
# `public`
`getHash( mixed $object )`
# `public`
`count( )`

#### Implementation of

`Countable::count()`
# `public`
`rewind( )`

#### Implementation of

`Iterator::rewind()`
# `public`
`valid( )`

#### Implementation of

`Iterator::valid()`
# `public`
`key( )`

#### Implementation of

`Iterator::key()`
# `public`
`current( )`

#### Implementation of

`Iterator::current()`
# `public`
`next( )`

#### Implementation of

`Iterator::next()`
# `public`
`unserialize( mixed $serialized )`

#### Implementation of

`Serializable::unserialize()`
# `public`
`serialize( )`

#### Implementation of

`Serializable::serialize()`
# `public`
`offsetExists( mixed $object )`

#### Implementation of

`ArrayAccess::offsetExists()`
# `public`
`offsetSet( mixed $object, mixed $inf )`

#### Implementation of

`ArrayAccess::offsetSet()`
# `public`
`offsetUnset( mixed $object )`

#### Implementation of

`ArrayAccess::offsetUnset()`
# `public`
`offsetGet( mixed $object )`

#### Implementation of

`ArrayAccess::offsetGet()`

### Magic methods summary