Esempio n. 1
0
 /**
  * @param \Aws\Sqs\SqsClient
  * @return bool
  * @throws \InvalidArgumentException
  */
 public function setConnection($connection)
 {
     if (!$connection instanceof SqsClient) {
         throw new \InvalidArgumentException('Connection must be an instance of SqsClient.');
     }
     return parent::setConnection($connection);
 }