Пример #1
0
 /**
  * @param SqsClient $client
  * @param array|\Qu\Adapter\Sqs\SqsQueueConfig $config
  */
 public function __construct(SqsClient $client, SqsQueueConfig $config)
 {
     $this->client = $client;
     $this->config = $config;
     $this->url = $client->getBaseUrl() . '/' . $this->config->getAccountId() . '/' . $this->config->getName();
 }