/** * * @param string $info * @param array $connection * @param ConnectionException $previous */ public function __construct($info, array $connection = [], ConnectionException $previous = null) { $this->connectionInfo = $connection; $host = $previous ? $previous->getHostname() : null ?: $this->getHostname(); parent::__construct(sprintf('%s (Host: %s)', $info, $host), 0, $previous); }
/** * * @param string $receiptId */ public function __construct($receiptId) { $this->receiptId = $receiptId; parent::__construct(sprintf('Missing receipt Frame for id "%s". Maybe the queue server is under heavy load. ' . 'Try to increase timeouts.', $receiptId)); }