public function __construct(Configuration $configuration, $accountId)
 {
     $this->configuration = $configuration;
     $storageApi = $this->configuration->getStorageApi();
     $sysBucket = $this->configuration->getSysBucketId();
     $this->accountId = $accountId;
     parent::__construct($storageApi, $sysBucket . '.' . $accountId);
 }
示例#2
0
 public function __construct(Configuration $configuration, $writerId, $tableId)
 {
     $this->configuration = $configuration;
     $storageApi = $this->configuration->getStorageApi();
     $sysBucket = $this->configuration->getSysBucketId($writerId);
     $this->tableId = $tableId;
     $tableName = $configuration->getWriterTableName($tableId);
     parent::__construct($storageApi, $sysBucket . '.' . $tableName);
 }