public function getBitmask($config)
 {
     Assert::isInstance($config, AMQPExchangeConfig::class);
     $bitmask = parent::getBitmask($config);
     if ($config->getInternal()) {
         $bitmask = $bitmask | AMQP_INTERNAL;
     }
     return $bitmask;
 }
 public function getBitmask($config)
 {
     Assert::isInstance($config, AMQPQueueConfig::class);
     $bitmask = parent::getBitmask($config);
     if ($config->getExclusive()) {
         $bitmask = $bitmask | AMQP_EXCLUSIVE;
     }
     return $bitmask;
 }