예제 #1
0
파일: SqsQueue.php 프로젝트: ronan-gloo/qu
 /**
  * @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();
 }