Exemple #1
0
 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);
 }
Exemple #2
0
 public function __construct($config = array())
 {
     parent::__construct($config);
     $this->client = new SimpleDbClient($this->config);
 }