original_string: public function send(MessageQueueInterface $messageQueue = null)
      {
          if ($messageQueue === null && $this->messageQueue === null) {
              $messageQueue = Yii::$app->getMessageQueue();
          } elseif ($messageQueue === null) {
              $messageQueue = $this->messageQueue;
          }
          return $messageQueue->send($this);
      }
code: public function send(MessageQueueInterface $messageQueue = null)
      {
          if ($messageQueue === null && $this->messageQueue === null) {
              $messageQueue = Yii::$app->getMessageQueue();
          } elseif ($messageQueue === null) {
              $messageQueue = $this->messageQueue;
          }
          return $messageQueue->send($this);
      }
code_tokens: public function send ( MessageQueueInterface $ messageQueue = null ) { if ( $ messageQueue === null && $ this -> messageQueue === null ) { $ messageQueue = Yii :: $ app -> getMessageQueue ( ) ; } elseif ( $ messageQueue === null ) { $ messageQueue = $ this -> messageQueue ; } return $ messageQueue -> send ( $ this ) ; }
docstring: Sends this message queue message.
  @param MessageQueueInterface $messageQueue the message queue that should be used to send this message.
  If no message queue is given it will first check if [[messageQueue]] is set and if not,
  the "messageQueue" application component will be used instead.
  @return bool whether this message is sent successfully.
docstring_tokens: Sends this message queue message .