public function __construct($config = array()) { parent::__construct($config); $dynamoConfig = $this->config; $localPort = Config::get('dynamodb.local'); if (empty($localPort) === false) { $dynamoConfig['endpoint'] = "http://localhost:{$localPort}"; } $this->client = new DynamoDbClient($dynamoConfig); }
public function __construct($config = array()) { parent::__construct($config); $this->client = new SimpleDbClient($this->config); }