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

# Class SessionHandlerConfig

A simple object containing config values for the session handler

Namespace: Aws\DynamoDb\Session
Located at Aws/DynamoDb/Session/SessionHandlerConfig.php

## Methods summary

- `public` `__construct ( array $data = array() )`

  Constructs the session handler config with default values

- `public` `get ( string $key )`

  Gets a config value if it exists, otherwise it returns null

- `public` `addDefaults ( array $defaults )`

  Applies default values by merging underneath the current data

## Methods detail

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

Constructs the session handler config with default values

#### Parameters

$data
  `array`
  $data The config data

#### Throws

``Aws\Common\Exception\InvalidArgumentException``
If a valid client isn't provided
# `public mixed`
`get( string $key )`

Gets a config value if it exists, otherwise it returns null

#### Parameters

$key
  `string`
  $key The key of the config item

#### Returns

`mixed`
# `public `Aws\DynamoDb\Session\SessionHandlerConfig``
`addDefaults( array $defaults )`

Applies default values by merging underneath the current data

#### Parameters

$defaults
  `array`
  $defaults The new default data to merge underneath

#### Returns

``Aws\DynamoDb\Session\SessionHandlerConfig``

### Magic methods summary

## Properties summary

`protected array` | $data | # The configuration data